dynamics crm - CRM 2011 Field Security based on attribute value -


i have situation want use field security when attribute on record value. entity contact , there bit attribute called vip. when user opens record , vip value true , not in vip team user cannot see fields marked field security.

is possible write plugin this, or there better solution?

you connect form's onload event , check user's teams , vip field , show other fields accordingly.

not sure if there's easier way teams, odata request option: http://msdn.microsoft.com/en-us/library/gg334767.aspx

command this:

var userid = xrm.page.context.getuserid(); var cmd = "/teammembershipset?$select=teamid&$filter=systemuserid eq guid'" + userid + "'"; 

to set fields' visibility, have @ link: http://danielbergsten.wordpress.com/2011/02/15/crm-2011-javascript-for-hiding-a-field-based-on-another-fields-value/


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo