How to set textfield only with Month and year from calender in CRM - dynamics-crm-2011

After selecting calendar in campaign form , I need to set text field only display Month/Year
instead of Day/Month/Year. How can I do this?
I attached a screen shot below:
Here its Day/Month/Year, but I need Month/Year.

I suspect that the date-time field is formatted according to the system settings (be that picked from CRM or the user's computer). Not sure if it's editable other than that. I'll take a look at it later today.
In case it's not possible to customize the date format of a single field you've got three options (listed in increasing order of control but also of implementation workload).
Set the system settings according to your wishes.
Add custom fields and control the looks in these.
Create a web resource that behaves exactly as you wish.

Related

Conditional dropdown selection to hide and show item

I'm new to Power Apps, I'm facing this issue.
enter image description here
This is a PA form when I select Projects value in Time entry field the below two fields are enabled Project and Project Role but when I change to other option like this
enter image description here
Project and Project role are hidden for other option selected except Projects option in time entry field. 
Everything is working fine but problem is coming when I edit any existing records of list and try to change the Time Entry field option when I'm changing the option from Projects to other options the below two fields disabled automatically which is fine but when I save this form after making changes the value of Project and Project Role remains in list which was existed for Projects option before editing.
So what I need here when I edit the existing records so value of Project and Project Role also wipe from SharePoint list when I select options other than project in time entry field.
Thanks in advance.
Forms on PowerApps are defined by cards. Cards have two important properties.
Default, which is the value you pass into the fields and show to the user. Usually this is just the value of the source
Update, which is the value you write back to the source. Usually, this is just the value of the field
You can do a lot by modifying default and update, which allow you to do all sorts of checks and logic on how different data should be transformed.
In your case, set the update value for project and project role to this
If(Self.DisplayMode = DisplayMode.Disabled, Blank(), dropdownvaluehere)
Whenever that card is disabled, it will write nulls to the list, regardless of what the dropdown says. Whenever the card is enabled, it will refer to the dropdownvalue.
As an aside, Consider using a dropdown box instead of a combobox if not necessary, as comboboxes have nice features like letting you select more than one value at a time, but tend to be more temperamental and break and forget values.

Spotfire Calendar Filter

Is there a way I can use calendar filter in Spotfire? I am aware of the range filter, but I want the user to only be able to select one date from a range of dates coming from a table.
it's a little bit advanced and requires some scripting (although code is provided), but a date picker can be used:
http://spotfired.blogspot.ch/2014/05/popup-calendar-webplayer-compatible.html
the result is something like this:
I know this is two years old but I still came across this post and I figured someone else will too.
To get the calendar to filter follow these steps:
Edit the Text Area
Click "Insert Filter"
Click the column from your data that contains dates
Click "Ok"
Once you save, you will have a slider in the text box and two calendars where dates can be picked or you can utilize the slider.
The current version of Spotfire has a calendar date picker built into the filter and data panels (but it is part of the range slider).
You can also insert this filter into a text area if you want a more custom user interface. See below:
Calendar date picker in Spotfire text area

Change background color of categories in standard mail database

As you might know, there's a standard background color set for categories in views of a Lotus notes mail database.
I'm using Notes 8.5.2, so the menu I have in release 9 is not available.
Now I want to know where this is set and if there's any possible way to change that for explicit views.
Thanks in advance!
I am not quite clear exactly what you are after, but if you have designer access, check out the help item "Allowing users to set colors in a view".
Basically the view design can include a hidden column that interprets the result of a formula as a foreground &/or background colour for the rest of the row. It takes a bit of experimenting to get good results.

How to specify the width of site column in a list?

I have developed a list in SharePoint. While entering new item in it, like name, if I keep on typing it gets spread over a line making the width of cloumn spread over page. I want to limit the width of site column so as the column's value spreads over multiple lines instead of spreading over one. How can I do this setting?
This is not a setting you can configure in SharePoint. You will need to write some custom code using css and possibly javascript that will set the width of the column. You can make a change like this in SharePoint Designer.
You must use min-width (CSS) in your block.
You have to create custom XSLT for this. There you have loop all the column and need to specify the overflow:auto, hidden,.. CSS property. So it automatically get effect based on your internal name of the field.
So whereever you have the field it automatically get affected. If it for one single view you can use JavaScript to achieve this but this is not right way to do.
The data you are entering can be displayed in many ways. Today in a table format, tomorrow in a dropdown etc. You should distinguish between:
limiting the amount of data that can be entered in a site column (can be done in SharePoint alone, when you design your list)
limiting the wrapping of the words in a table cell today or trimming the values in a dropdown tomorrow (can be done using HTML/CSS "nowrap" if you display the list values in a browser app, or differently if you show the values in a WinForms app)

CRM 2011 - Custom query for subform based on value entered in field on mainform

How can I filter a subform based on a value selected in a field on the main form. The mainform is a registration for an certain education. When the user selects the education, for which he wants to make a new registration, the subform must show all the sessions planned for this education.
Thx!
I do not believe filtering is supported out of the box by microsoft. The subgrids are pretty limited.
This article might help. The author has a method to build custom views with filters, simliar to the method of filtering lookups through script. It is an unsupported hack, but may be able to be adapted to your situation.
Another option off the top of my head would be to build a silverlight list-application or custom IFrame which would filter the list based on the selected option.

Resources