web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to store data specific to user at CRM level using Javascript

(0) ShareShare
ReportReport
Posted on by

For example, when we open any account form (assume Microsoft Corporation), is there any way to store data specific to user at CRM level using javascript and retrieve the same data from XRM sdk?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Dinesh ,

    this is the more specific content for your needs:

    https://community.dynamics.com/crm/b/scaleablesolutionsblog/archive/2016/01/18/crud-operations-using-web-api

    Please let me know if you solve.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    tw0sh3ds Profile Picture
    5,600 on at

    Don't know exactly what kind of data you are talking about here, but you can always create a custom entity, which every user will only have access if he/she is an owner. Now simply store the user specific information in that entity and retrieve objects of this entity using WebAPI

  • Suggested answer
    Frank Lee Profile Picture
    4,617 on at

    Yes.  Setup a CRM entity/field for storing the data and then use the CRM SDK Web API Javascript to interact with it.

    msdn.microsoft.com/.../gg334279.aspx

  • Community Member Profile Picture
    on at

    Hi Francesco,

    It worked and solved my issue. Just want to know, whether we can create new property for object in below code(i added property test with some value):

    var body = JSON.stringify({

    "name": "Sample Account",

    "creditonhold": false,

    "address1_latitude": 47.639583,

    "description": "This is the description of the sample account",

    "revenue": 5000000,

    "accountcategorycode": 1,

    "test": true

    });

    When i tried like this, while reading data, it says unable to read "test" property. Does this support only some properties which are supported by CRM ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans