Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I am displaying a custom entity (Project) to Contacts that log into a CRM Portal.To relate the Contacts to the Project, I am using Connections instead of a standard relationship, because the relationship needs to be categorised. I'm hoping to filter the EntityList so that an authenticated Contact will only see the projects that they are connected to.
Has anyone come across a requirement like this before? or are there any ideas out there?
After doing some research, it appears that this is something that Adx did think of.
If you use a specific contact in a view's filter, and use that view in an entity list, the specified contact will be replaced by the authenticated portal user at run-time.
This is outlined in the following link : community.adxstudio.com/.../enhanced-crm-view-filtering
I hope this helps someone else.
You can achieve this either though connection or relationship.
If you have created a connection then insert sub-grid on entity form in CRM and then show this grid on portal.
Hi Tadhg , yes - solution you have found is fine to filter out entity list results with help of view where you have contact filter.
But if you have page to see details or edit details of the entity - you can modify url and put id of the entity you shouldn't have access.
To build better permissions model you need to use custom page templates based on web templates, and insert fetchxml which will find out if you can see/edit record with id from querystring.
If you cannot access it, just show error or redirect.
Hope it will help you.
Hi Dmytro. Thanks for this info. That sounds like the kind of permissions model that I should be looking at. I haven't dived in to liquid templates yet, but this may be a good reason to start.
Do you know of any resources that give an example of this sort of template?
If I have exactly this template (for activities), I'd provide it to you.I can recommend few links to start with fetchxml and liquid, which gives you an idea that you can mostly everything with it:http://dyn365apps.com/2017/09/14/dynamics-365-portals-liquid-templates-part-3-retrieve-data-using-fetchxml/ (other parts will be useful too)
http://colinvermander.com/tag/liquid-templates/ (its article list)if you have any particular question - you are welcome.
Thanks Dmytro. These links are great!
Business Applications communities