You may be trying to access this site from a secured browser on the server. Please enable scripts and reload this page.
Turn on more accessible mode
Turn off more accessible mode
Skip Ribbon Commands
Skip to main content
Turn off Animations
Turn on Animations
SharePoint
Sign In
Use SHIFT+ENTER to open the menu (new window).
To navigate through the Ribbon, use standard browser navigation keys. To skip between groups, use Ctrl+LEFT or Ctrl+RIGHT. To jump to the first Ribbon tab use Ctrl+[. To jump to the last selected command use Ctrl+]. To activate a command, use Enter.
Browse
Tab 1 of 2.
Page
Tab 2 of 2.
Follow
Bluespring Online
Bluespring ProcessView
Bluespring LeanView
BPM5 Documentation
Currently selected
Use FetchXML to Retrieve CRM 2011 Records
It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.
Updated Pages
Update Specific Group LDAP Entries
Home
Write Values to a Password-protected Workbook and Worksheet
Write Data Item Values to a Delimited Text File
Update Specific User LDAP Entries
Documents
Welcome & Introduction
Guides
Hardware & Software Requirements (PDF)
Install Guide (PDF)
Activity Reference Guide (PDF)
BPM Designer Topics
Workspace and Solution Topics
Solution Item Topics
Activity Topics
Common Expression Functions
BPM Admin Topics
Process and Activity Monitoring (with Filters)
Service Monitoring
View All Site Content
Recent
Images
Business View Topics
Feedback
Solution Items and Activities
Guides
Home
About
To use FetchXML to retrieve CRM 2011 records, complete the following steps:
Check out and open the process you want to edit.
In the
Toolbox
pane, click
Microsoft CRM 2011
. A list of Activities is displayed.
Double-click or drag the
Fetch CRM 2011 Records
into the process.
Link the activity appropriately with other activities in the process.
Right-click the
Fetch CRM 2011 Records
activity. A shortcut menu is displayed.
Click
View Properties
. The
Fetch CRM 2011 Records
window is displayed.
Click the
System Resource
tab. The corresponding screen is displayed.
In the
CRM System Resource
field, click the
System Resource editor
icon and select the appropriate CRM 2011 system resource.
Note:
If you select the
CRM 2011 Entity editor
, you can directly select the CRM entity that you want to retrieve.
If your system resource contains a data item in the connection string property, click
Configuration values
and enter a valid connection string for design-time, configuration purposes.
Click the
Fetch XML
tab. The corresponding screen is displayed.
In the
Fetch XML
field, type the XML code to retrieve the relevant CRM record.
Note:
For example, to retrieve CRM 2011 accounts and only return the name and account ID, you use the following code:
<fetch mapping="logical">
<entity name="account">
<attribute name="accountid" />
<attribute name="name" />
</entity>
</fetch>
To use values stored in data items to make your query dynamic, click the
Show Data Items
button and double-click the relevant data items to insert them into your XML where the cursor is.
Click
OK
. You configured the activity to use FetchXML to retrieve CRM 2011 records. You are now ready to map attributes to data items as documented in the corresponding topics in this section.
Related Topics
Populate Data Items with a CRM 2011 Attribute Value
Write the CRM 2011 Records to an XML File
Source
BPM Designer Topics
>
Overview of Activities and Activity Topics
>
Microsoft CRM 2011 Activities
>
Fetch CRM 2011 Records
Last modified at 7/31/2020 12:07 PM