Loading

Previously working custom action now triggers error message in Salesforce Maps

Publiceringsdatum: Nov 15, 2024
Beskrivning
When launching a custom action from a marker in Salesforce Maps, a button that had previously been working may generate the error "The name can only contain underscores and alphanumeric characters".  This is due to the configuration of the button containing [Custom] in the custom action setting. In addition, the components tied to the managed package have also been altered.
Lösning

The method of creating this type of custom action is not supported by Salesforce Maps and was introduced by custom development in legacy products. For more information, please see Premier, Premier Plus, and Signature Success: Developer Support on what is supported in Salesforce Maps developer support.  Although we recommend reviewing the out-of-the-box actions like Launching a Lightning Component or Launching a Visual Flow to achieve similar behavior, below is a sample code to reference to update existing code. Please note Salesforce Support cannot make changes to your code.

Original Code:

MAActionFramework.on('ready', function () {

Updated Code:
window.addEventListener('load', function () {

Knowledge-artikelnummer

000394544

 
Laddar
Salesforce Help | Article