Skip to main content
Conga Support

Error "id parameter is missing" with Composer 8 buttons in Lightning

Cause

Composer 8 buttons in Salesforce Lightning will produce an id parameter is missing error message when an additional question mark is included in the button URL. This most commonly happens when you use ?pv0= to pass a non-standard field value into the filter of your data source.  For example, the following would cause an error in Lightning:

&QueryId=a0441000002PxvVAAS?pv0={!Opportunity.AccountId}
 

The example above only contains one question mark. Isn't the problem when you have more than one question mark?  Yes!  Composer buttons also have a question mark in the base URL (which is the first few lines), making the question mark in the above example the second.

What to Do

Encode the question mark using the URLENCODE function in the Salesforce button, as shown below:

&Queryid=a0441000002PxvVAAS{!URLENCODE("?")}pv0{!URLENCODE("=")}{!Opportunity.AccountId}

For more information on encoding characters, see http://meyerweb.com/eric/tools/dencoder/.

  • Was this article helpful?