Forums

Forums / Developing Portals / Retrieve encrypted ID of linked entity problem

Retrieve encrypted ID of linked entity problem

Thread is closed for posting
2 posts, 1 answered
  1. phamtrungson
    phamtrungson avatar
    12 posts
    Registered:
    07 Oct 2016
    15 Dec 2016
    Link to this post
    Hi everyone,

    I have a grid view which load Opportunity as primary entity and the linked Account. I see TPC only support a string format {6} to get encrypted ID of primary Opportunity. How I can get encrypted guid of Account?

    Many thanks,
    Trung Son
  2. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    Answered
    03 Jan 2017 in reply to phamtrungson
    Link to this post
    Hello Pham,

    The column editor and the {6} parameter only support getting the encrypted id of the record bound to that row. With linked entities, the linked-record is not bound to the row and unfortunately will not be encrypted.

    I have added this to a list of future enhancements we could make to The Portal Connector.

    In the meantime, check out this post to see how you can encrypt/decrypt the guids yourself:

    https://www.crmportalconnector.com/developer-network/forums/developing-portals/encrypted-query-string#RAhXJamJZmOrgf8AAL_CBA
    Last modified on 03 Jan 2017 15:01 by Clinton Bale
2 posts, 1 answered