...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Many2Many Installation Steps
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Version Name: Winter 2023 | Release Date: February 2023 | Release Notes |
Installing the Many2Many Package only takes a few minutes:
Install the Many2Many Package into your chosen environment.
Vera Employees can navigate to this page /wiki/spaces/PS2/pages/3910008840 to access the link.
Partners & customers, please get in touch with your Vera point of contact to access the link.
Select which users you wish to install the package for (learn more here).
You may choose to install it for Admins only, for all users, or for specific profiles. We generally recommend installing for Admins only so that access may be opened up by custom permissions, but this is dependent on your organization’s use case.
For security purposes, Salesforce requires you to activate MyDomain in order to use Lightning Components. Learn more about how MyDomain works and how to set it up here. It can take up to 30 minutes for MyDomain to activate, depending on your system.
Once the package is installed into your Salesforce instance, assign the Many2Many Admin permission set to the System Administrator(s) who will be configuring Many2Many. This will give them modify access for all Many2Many objects (i.e. Tag_Settings__c).
Junction Object Configuration
Info |
---|
Installing M2M for Amp Impact? Visit |
Functionally, M2M creates a junction record between two records of different objects. To use M2M, you may configure your objects in several ways (outlined below). The Tag Settings object, highlighted in red, is installed as part of the package.
...
From these object models, you can see that you'll need a many-to-many relationship between the two objects you want to use for tagging. This can be achieved through a separate junction object.
You should select one or any combination of the above object models based on the system’s overall data model. Many2Many currently supports two models, so you can make a decision based on reporting needs and/or object limitations.
One important consideration when creating the junction object is the user permissions that need to be in place.
Name Field
The junction object’s Name field must be set as an Auto-number field. Otherwise, if you set it as a Text field, you will need additional custom development for the Name to populate correctly on creation of each record.
Lookup to Tag Settings
You must create a lookup relationship between your junction object and the Tag Settings Object.
Archive Mode
If you decide to use Archive Mode on your tags, you will need to create two date fields on your junction object(s):
Tag Date: This field will populate with the date when a tag is added through the component and Archive Mode is enabled. If a tag is removed and then added again, this field will re-populate with the most recent add date.
Archive Date: This field will populate with the date when a tag is removed through the component and Archive Mode is enabled. If a tag is removed and then added again, this field will become blank until the tag is again removed.
Next Steps
...
.
...