Set up relationships from other objects in DocGen Packages

You can use the Relationships from Other Objects option to include data from another standard object Objects that are in a Salesforce org by default e.g. Account, Contact, Lead, Opportunity. in your DocGen Package. To add additional fields from those objects, use the Field Tagger A tool that displays tags for your template based on the object you're working with and easily inserts the field tags into your templates for your DocGen Package. to place tags A prefilled word block that DocGen selects for fields in your DocGen Package. The tag is a placeholder for the value being retrieved from Salesforce and it gets replaced with the relevant information when the document is generated. in your DocGen Package. For more information, see Tag Documents.

Important: To view relationships from other objects in your documents, you must run your DocGen Package as this option is not currently supported in the Lightning component. For more information on running a DocGen Package, see Nintex DocGen for Salesforce - Run DocGen Package.

Create a relationship from another object for a new DocGen Package

  1. Navigate to the App Launcher by selecting app launcher in the upper left corner and select Nintex DocGen.
  2. Select the DocGen Packages tab.
  1. Click New.
  2. Type in the DocGen Package details and select your Starting Object.
  3. Click Save.
  4. Nintex DocGen automatically adds the Starting Object and any child relationships associated with the object in to the Relationships section. This can't be edited unless a different object is selected.

  5. Add a Relationship from another object.

    If a relationship already exists between the starting object and another object, Nintex DocGen automatically adds it to the Relationships section of your DocGen Package.

    If no relationship exists, you can add one by following the steps below.

    1. Click the Data tab.

    2. In the Relationships from Other Objects section, click the drop-down and select Add Relationship from Other Object.

    3. Select an object you want to add.

    4. Click Save.

Create a relationship from another object for an existing DocGen Package

  1. Open a DocGen Package.

  2. Click the Data tab.

  1. In the Relationships from Other Objects section, click the drop-down and select Add Relationship from Other Object.

  2. Select the object you want to add.
  3. Click Save.

You also have the option of adding a Child A relationship between two objects established by a lookup or a master-detail field. or Lookup Salesforce says, "A relationship between two records so you can associate records with each other." relationship to your Relationships from Other Objects.