locked
With Javascript read the status value of parentaccountid from Opperunities RRS feed

  • Question

  • Hello everybody,

    I have a question it is possible from the Opperunities to read the status value of field account (parentaccountid) And depending on the value the Opperunities only readable to make.

    Xrm.Page.data.entity.attributes.get("parentaccountid").getValue();

    best regards

    \ Thorsten


    thorsten

    Thursday, August 3, 2017 3:14 PM

Answers

  • Hello Andrii,

    Thanks for the reference endpoints. 

    I can solve this with the tool CRM Rest Builder.

    Thank you


    thorsten

    Thursday, August 10, 2017 1:02 PM

All replies

  • Hello Thorsten,

    This is possible. From parentaccountid field you can get id of record and the next step is to get information from CRM using endpoints - https://msdn.microsoft.com/en-us/library/mt770365.aspx


    Dynamics CRM/Business Solutions MVP
    Read My blog

    Thursday, August 3, 2017 4:03 PM
    Moderator
  • Hello Andrii,

    Thanks for the reference endpoints. 

    I can solve this with the tool CRM Rest Builder.

    Thank you


    thorsten

    Thursday, August 10, 2017 1:02 PM
  • Hello Andrii,

    Thanks for the reference endpoints. 

    I can solve this with the tool CRM Rest Builder.

    Yes. But anyway - that tool makes easier generation of calls to mentioned endpoint.

    Also just FYI if reply (no matter which - yours or other forum visitor) answers your question close thread as closed.


    Dynamics CRM/Business Solutions MVP
    Read My blog

    Thursday, August 10, 2017 3:28 PM
    Moderator