Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
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
I have a custom sql based ssrs report that I am deploying to CRM 2011. I am using the Go To URL under Action and it is working fine with single link but the field that I am creating the hyperlink for might come as account or contact so I have to use a switch or iif to get the proper link.
When I use a switch to branch out per the entity, I am having an issue as follows. Here is the code that is working:
=switch(fields!partyobjecttypecode.Value = 1, Parameters!CRM_URL.Value + "?ID=" + Fields!Client.Value.ToString() + "LogicalName=account", fields!partyobjecttypecode.Value = 2, Parameters!CRM_URL.Value + "?ID=" + Fields!Contact.Value + "LogicalName=contact")
As you notice, the below line has ToString() missing but the above line has it. Here, the account link works but the contact doesn't. When I add the ToString() to the line below exactly like line above both link stop working. If I add the ToString() to line below and remove it from line above, again, the contact works but account doesn't.
Do you see what is wrong here? Your help is greatly appreciated as I have been looking at this for several hours to no avail. Looking forward to your responses.
Please disregard the question. I found the solution myself. I moved the ToString() conversion to the backend and it fixed the issue.
Hi Homayoun, sorry to bother you. I met the same question with you, could please kindly show the working expression?
Business Applications communities