Hello,
I have created one Dialog Process and I am running that using Javascript code when User Clicks on the Button on Ribbon.
For example,
1. User goes to Sales > Contacts > sees the default view for Active Contacts
2. Then selecting few records from the View, and then clicking custom button on the Ribbon.
3. Which starts the dialog and then runs custom workflow activity. (which is in C#)
4. I want to get all the selected records in the C# workflow activity for further process.
I know, I can use fetch xml query to get records.
But how to get only selected records?
Any idea?
Thank you,
Mittal.
For example my fetch xml looks like below, but which filter criteria I should use to get only selected records?
<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
<entity name='contact'>
<attribute name='fullname' />
<attribute name='telephone1' />
<attribute name='address1_line1' />
<attribute name='address1_stateorprovince' />
<attribute name='address1_city' />
<attribute name='contactid' />
<order attribute='fullname' descending='true' />
<filter>
<condition attribute='statecode' operator='eq' value='0' />
</filter>
</entity>
</fetch>