...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Related pages:
...
Set Up Many2Many for Salesforce Mobile
Many2Many can be set up from the web by following the instructions provided in Create a Tag Setting. Additional configuration is needed to optimize Many2Many for mobile users.
...
First things first: Ensure that your Tag Settings are set up correctly.
Navigate to the Object Manager from the Setup interface and select the object where M2M will be displayed. In our example, we’ll display it on the Account object.
Navigate to “Buttons, Links, and Actions” on the left-side pane and click “New Action”.
Complete the fields as shown below. Please note the following fields are mandatory:
Action Type: Lightning Component
Lightning Component: tag:TaggingUI
Height: 250px. This is the default value and may be customized.
Label: Tag Contact to Account (or whatever the action is that you are configuring).
Name: Tag_Contact_to_Account. This automatically populates when “Label” is inputted.
[Optional] Customize the “Standard Label Type”, “Description”, and “Icon”, and click “Save”.
Navigate to “Page Layouts” and click on “Mobile and Lightning Actions” to drag and drop the Action you created in the Salesforce Mobile and Lightning Actions section (“Tag Contact to Account” action in our example).
...
Create a Global Action
First things first: Ensure that your Tag Settings are set up correctly.
Navigate to the setup interface and type “Global Actions” in the “Quick Find” box. Select “New Action”.
Complete the fields in the “Enter Action Information” pop-up:
Action Type: Lightning Component
Lightning Component: tag:TaggingUI
Label: Many2Many (or something specific to your use case, such as “Tag Countries”).
Name: Many2Many (or if customized, something like “Tag_Countries”).
[Optional] Customize the “Standard Label Type”, “Description”, and “Icon”, and click “Save”.
Return to the setup interface and navigate to the “Object Manager” to select the Target Object where you’d like to display the M2M component.
Navigate to the Page Layout of the Target Object and click into “Mobile & Lightning Actions” where the Global Action you created will be displayed.
Drag the Global Action to the “Salesforce Mobile and Lightning Experience Actions” header.
...