Add a CRM report

Source: Internet
Author: User
Tags microsoft dynamics

Report navigation provides a dynamic and interactive report experience. By using various types of operations, reports allow users to navigate to detailed reports, Microsoft Dynamics CRM records, or other websites

 

Dynamic drilling to Microsoft Dynamics CRM
You can drill the report to navigate to the Microsoft Dynamics CRM web form. To implement a drilling report, follow these steps:

Add an image or value item (such as a text box) to the report ). The value attribute contains the code that uses the base address of Microsoft Dynamics CRM and parameters that reference specific records to generate URLs.

When you click a report item, a new browser window is opened using the constructed URL passed as the target web address.

Microsoft Dynamics CRM loads the specified entity information to the web form displayed in the browser window.

 

Set Drilling Reports in Microsoft Dynamics CRM
A hidden parameter with the string type and crm_url name is created in the report. For more information about adding parameters, see using parameters in reports. When the report is running, this parameter is automatically set to the web address of Microsoft Dynamics CRM.

Add Report items, for example, text box ".

Right-click the drill-down report item and select "properties" from the shortcut menu ".

Select "advanced ".

On the "navigation" tab, click to select "Jump to URL" and enter an expression in the following format:

Copy code
= Parameters! Crm_url.value &"? Id = {"& guid &"} & etc = entity code"
 

The object guid and logical name must be added to the URL for drilling. For example:

Copy code
= Parameters! Crm_url.value &"? Id = {"& fields! Opportunityid. value. tostring () & "} & etc = entity code"
 

Click OK ".

In this sample code, the value of the dataset field containing the guid of the opportunity object is converted to a string and used as the ID parameter in the URL. The parameter that contains the logicalname value of the business opportunity entity will be appended.

The GUID of the record can be obtained from the corresponding filtering view (for example, filteredopportunity. The logicalname value of each object can be obtained by viewing the object metadata topic of each object in this SDK document.

Example:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.