0

While navigating to a standard page from custom page - I am passing URL Parameters to fields on the Standard page.

I am using fieldID to achieve this and it works for all fields except for lookup fields.

As mentioned in this blog, lookup field can be populated based on ID and Value. I am passing both ID and values.

Below is the snippet of my URL value:

/500/e?
00Na000000ArhgS=SampleProd
&CF00Na000000ArhgS_lkid=a7Za0000000PB6eEAG
&nooverride=1

For some reason, this does not populate the values in the lookup field. It should populate as "SampleProd"

2
  • Are you on classic or lightning? That trick won't work on lightning. May 22, 2018 at 16:05
  • I am using Classic
    – user56886
    May 22, 2018 at 16:36

1 Answer 1

1

Looking at a similiar url hack in my org, everything checks out, except for one thing, a missing prefix which causes the two ids to be different:

00Na000000ArhgS
CF00Na000000ArhgS_lkid

Try changing 00Na000000ArhgS to CF00Na000000ArhgS. Should do the trick.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .