Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

Pre-requisite. You need a system administrator profile to perform those steps.

Package Installation Launch - Hello World

To install the IdealDoc Salesforce Package into your Salesforce instance, click the link below and log into with your usual username and password.

Current Version : 1.6.3-1

Package Installation

Once prompted, select "Install for Admins only" and "click Install".

image-20240731-215134.png

On the next screen, tick the box and click continue.

image-20240731-215150.png

Permission Sets Assignments

  • Assign Permission Sets to relevant users - Ideal Doc Admin Permissions (for System Administrator users)

  • Ideal Doc User Permissions (for regular users)

Custom Metadata Type record Creation

Now let's create a Custom Metadata Type Record for IdealDoc. This is mainly to enter your IdealDoc token, but also to make it possible to define certain general settings.

  • Go to the Setup menu

  • Search "Custom Metadata Type"

  • Find the record named "Ideal Doc Setting" and click on the "Manage" blue link

  • Now, we need to create an entry for Production and one for the Sandbox.

Production Record :

Field

Value

Comments

Label

IdealDoc Production

Ideal Doc Setting Name

prod

IdealDoc Config

{ }

You can enter here default settings applying to all your documents. More infos HERE.

Ideal Doc Customer Token

Your token is communicated by IdealTeam.Group

Ideal Doc Url

https://api.idealdoc.io/v1/

Sandbox Record :

Field

Value

Comments

Label

IdealDoc DEV (or name of your sandbox)

Ideal Doc Setting Name

dev (or short name of your sandbox)

IdealDoc Config

{ }

You can enter here default settings applying to all your documents. More infos HERE.

Ideal Doc Customer Token

Your token is communicated by IdealTeam.Group

Ideal Doc Url

https://test.idealdoc.io/v1/

Note here the use of "test" instead of "api" like for the production record.

Internal Question : can a customer have multiple sandbox record?
{ "numberFormat": { "locale": "en-ch" } }
→ all property names need to be with double quotes!

💡 Developers : This step can be automated by calling the Apex function from the Salesforce Developer Console:

new IdealDocPostInstallClass().onInstall(null);

Flows Activation

Verify that the following flows are active :

  • Simulate Ideal Doc Query Screen Flow

  • Create Ideal Doc Action Screen Flow

  • Create Ideal Doc Button Screen Flow

Other steps

  • Create IdealDocQueryc and IdealDocTemplatec records

  • Create IdealDoc docx template and upload to template record

  • If required: create custom IdealDocQueryParamsc and IdealDocTargetRecordIdc fields on target object

  • Create Quick Action on target object

  • No labels