Retrieve Search Select Advanced Field Value

Hi Guys


Im currently struggling to retrieve the Value of a Search Select Advanced field on a Custom ASP Page.


I have tried the following methods to obtain the value with no success:


Values("Corp_AccountId")

Entry = EntryGroup.GetEntry("Corp_CompanyId");
Compid = Entry.DefaultValue;

Corp_AccountId.value


I need to retrieve the Value, and pass the value to another Custom ASP Page via the Query string.

If someone can please provide me with assistance regarding this I urgently require a solutions.


Thank you

J

  • 0
    Hi,
    From your above post it seems that you want to retrieve Search Select Advanced field value. You can try it using following two ways.

    1. Using Request.Form method as follows:

    Request.Form("Corp_AccountId")

    2. Using CRM.GetContextInfo method as follows:

    CRM.GetContextInfo("EntityName", "Corp_AccountId")

    Hope this helps!

    Regards,
    Dinesh
  • 0

    Hi Dinesh

    Thanx for the response, much appreciate it. I have however tried your suggestion and didnt receive a positive result.

    Im basically passing Values from a Deduplication Search Select Advanced Field to the "New screen" as to prevent the user from needing to type the values again. And as at that stage there is no Context and the Request.Form function returns an Error (I dont think that this is the solution).

    Is there another way of referencing/accessing the value?