I have added Financial dimension tab on enterprise portal lead's detail page. The web-part is controlled by AX class DimensionDefaultingEPController.
I need to make only one attribute of the dimension visible. How do I achieve this ?
As per my approach, I have find the web menu item of corresponding web-menu and tried to search that if its possible to check the web menu item as a caller. But didn't find a way to achieve this too. Please help.....
Regards,
Rishi
Checking the caller is not a good idea anyway.
Better is to check the element.args parameters.
You could sniff the parmEnum property value provided by the menu item.
Supply different menu items for each different context.
Related
Supppose I have two different business process flow for an entity, is it possible, from the onLoad event of the form, to change which flow is displayed ?
Should I try and modify the order in which the flows are shown depending on some conditions ? If that is even possible ?
Thanks
Yes. You want Xrm.Page.data.process.setActiveProcess(processId, callbackFunction)
See Xrm.Page.data.process for reference
We are using Visual Studio online as our backlog/sprint planning system. Now VSO development team has introduced possibility to define epics, which is great.
But the problem is that I already have full backlog with features and backlog items. I can not find a way how to assign those features to newly created epics... (the same if I have created backlog item first and after that - if I create a feature, I can't find a way how to attach that aforementioned backlog item to the newly created feature)
I am stuck and can't find a way how to accomplish this. Is it at all possible? Can anyone shed some light?
Yes, follow the steps below to accomplish this:
From Epics:
Open the Epics item.
Click "Link to..." button under "Features" tab.
Select "Child" link type and enter the ID of the feature you'd like to assign to this Epic.
From Features
Set "Mapping" to "On" and you will see the Epics listed in the right
panel.
Drag and drop the feature to the Epic you'd like to assign.
Or you can also:
Open the feature item.
Click "Link to..." button under "All Links" tab.
Set "Link Type" to "Parent" and enter the ID of the Epic you'd like to assign.
The steps above can be also used when you want to assign backlog item to feature.
An easier way is to use the "Mapping" pane on the "Backlogs" tab:
Go to the "Feature" level
Activate the "Mapping" pane
Now simply drag & drop your features onto the epic you want:
The Epic work item form should have a FEATURES tab where you can associate existing or add new features (that are automatically associated to the Epic)
Basically long pressing of FR(fast rewind)/FF(fast forward) causes directional scrubbing. But iPod, YouTube app detects short tapping of these buttons and uses it for navigating to previous/next tracks.
How can I archive this feature? Is this possible? Or should I go view-hierarchy hack?
I have solved this with view hierarchy hack. This is not recommended and should be avoided as much as possible. But I note here for further reference. To mark there is no accessible way currently. This hack is applied to only specific version (4.3) of iOS SDK.
Iterate all view hierarchy of -[MPMoviePlayerController view].
Find subclass of UIButton. And add target-action handler to all of them. (you can check for subclass of MPTransportButton)
In handler, you can filter by tags. Only navigation buttons are tagged. Each tag means 1 = play/pause, 2 = previous, 4 = next button.
Take care about this is just an hack. Will not be guaranteed to work or pass on AppStore.
If you have experience of rejection by this method, please comment me. It'll be very appreciated.
I am new to MATE framework and I have been digging around some sample codes so that i can do the following:
On clicking a button (on a canvas)
Display a Panel.
The issue is that i am not trying to pass any value hence not sure of how/ what should be defined as sourcekey and targetkey. If this is the case, then how should one define the propertyinjector details.
most examples that are floating around contains details of reading data from a source and populating the same on a UI/ Display component.
Thanks
Srinivasan S
for this one you shouldn't use propertyInjection you should dispatch an event (you can make it custom), then you need to catch the event in the appropriate place and simply do whatever you want with it.
I want to create a combobox in flex which will take three values, Available, Unavailable, and Busy. The constraint is, I should not allow user to go directly from Unavailable to Busy. So when a User is selected Unavailable, I should keep the Busy item disabled (unselectable), but a user will be able to go directly from Available to Busy. I chouldn't find a straight forward way to disable an item in combobox in Flex. How can I do that?
Have you considered using radio buttons rather than a combo box? It's clear how to do this for radio buttons, for one thing. Also, it can often be friendlier to present the available options without requiring a click to reveal them. (Especially if, as in this case, you are adding the possibility that an option is "available, but not possible for you right now for some reason not shown in this combo-box item").
If you really want a combo-box, you can use the click event to display it in a non-standard fashion by probably changing its style; and then, if clicked anyway, Then, in the selected event, reject the choice (hopefully with an indication of why),
Or, if you want to simply remove it from the list, you can have the click listener event repopulate the source list each time, based on conditions. But that might be confusing to the user, too.
You can also have a look at
www.stoimen.com/blog/2009/03/05/flex-3-combobox-disabled-options/
which references
wmcai.blog.163.com/blog/static/4802420088945053961/
(note for NoScript users you must have 163.com and 126.com at least temporarily allowed to be
able to properly see this page)
it works very well even though I added the code for being able to properly handle keyboard
events in the dropdown list
Full self working example available at
http://olivierbourdon.homedns.org/OpenSource/combos.zip
Thanks again for the good work