Hi All,
I have a requirement where i need to restrict file type for specific entity in notes for e.g. i have three entities contact,account and customer entity so in contact entity user should upload only .doc file and in account entity user should upload only .pdf file and in customer entity user should upload only .txt file.
So how do i achieve this requirement for different different entity
*This post is locked for comments
Thanks, Scott. Will check the reference you sent and keep you posted.
Hi,
You can use "objectid" attribute, this is "EntityReference" and has "LogicalName" property.
Please regarding object Id type
Mark answer as verified if it works for you
thanks for answer....
we did it already .....but How do we find particular entity at a time of creation of note?
You would need to write a plugin on create of the annotation entity and throw an PluginExecutionException if the types do not match. See msdn.microsoft.com/.../gg328490.aspx
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156