Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features: Dynamics 365 Sales in 2023 release wave 1
Stay informed with the latest D365 Sales features in our latest blog posts: Manage opportunities more effectively with the new sales pipeline view
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
1. Fetch XML View: For creating the fetch xml view, you need to create the Saved Query for that as given below.
2. Presentation: Then you need to write the following Presentation for that.
string presentationXml = @"
BorderColor='64, 64, 64' BorderDashStyle='Solid'
Font='Tahoma, 6.75pt, GdiCharSet=0'
LabelForeColor='100, 100, 100'
BorderColor='228, 228, 228' BorderWidth='0'
Font='Tahoma, 8pt, GdiCharSet=0'
ShadowColor='0, 0, 0, 0' ForeColor='100, 100, 100'>
Font='Tahoma, 9pt, style=Bold, GdiCharSet=0'
ForeColor='102, 102, 102'>
3. Data Xml: Below we have created the Data XML for that. In the Data XML we need to provide the Presentation and the Fetch XML view Id, as given below.
// Set the data XML string.
string dataXml = @"
// Create the visualization entity instance.
savedqueryvisualization newSavedQueryVisualization = new savedqueryvisualization();
newSavedQueryVisualization.name = "Example Visualization";
newSavedQueryVisualization.presentationdescription = presentationXml;
newSavedQueryVisualization.datadescription = dataXml;
newSavedQueryVisualization.savedqueryid = new Lookup();
newSavedQueryVisualization.savedqueryid.Value = viewId;
Guid newSavedQueryVisualizationId = service.Create(newSavedQueryVisualization);
//Publish the Opportunity entity customizations.
PublishXmlRequest request = new PublishXmlRequest();
request.ParameterXml = @"
// Execute the request.
PublishXmlResponse response = (PublishXmlResponse)service.Execute(request);
Also you can refer the CRM 2011 SDK.
Business Applications communities