{"id":278,"date":"2025-01-01T00:01:52","date_gmt":"2024-12-31T21:01:52","guid":{"rendered":"https:\/\/docu2.me\/help\/?p=278"},"modified":"2025-04-03T16:25:39","modified_gmt":"2025-04-03T13:25:39","slug":"resource-manager","status":"publish","type":"post","link":"https:\/\/docu2.me\/help\/resource-manager\/","title":{"rendered":"Resource Manager &#8211; Creating a Dynamic Account Table"},"content":{"rendered":"\n<p><strong>Practical Tutorial:<\/strong> <em>Creating a Dynamic Table in docu2.me with Salesforce Data<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Objective<\/h2>\n\n\n\n<p>Create a dynamic table that displays the names of the first 5 Salesforce accounts using docu2.me dynamic resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-Step Guide<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Initial Preparation<\/strong>\n<ol class=\"wp-block-list\">\n<li>Log in to your Salesforce account<\/li>\n\n\n\n<li>Navigate to the docu2.me application<\/li>\n\n\n\n<li>Click on &#8220;New Document&#8221;<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li><strong>Document Structure Creation<\/strong>\n<ol class=\"wp-block-list\">\n<li>Create a new document:<\/li>\n\n\n\n<li>Insert a table:\n<ul class=\"wp-block-list\">\n<li>Position the cursor where you want to insert the table<\/li>\n\n\n\n<li>Click on the &#8220;Insert Table&#8221; icon in the toolbar<\/li>\n\n\n\n<li>Select a table with 1 column and 2 rows<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Add the header:\n<ul class=\"wp-block-list\">\n<li>In the first cell of the table, type &#8220;List 5 Accounts&#8221;<\/li>\n\n\n\n<li>Format the header text (bold, larger size)<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1215\" height=\"944\" src=\"https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-table.gif\" alt=\"Creating a table structure in docu2.me\" class=\"wp-image-375\"\/><figcaption class=\"wp-element-caption\">Creating the table structure for account list<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3. Dataset Configuration<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the Resource Manager:\n<ul class=\"wp-block-list\">\n<li>Right-click on the document<\/li>\n\n\n\n<li>Select &#8220;Resource Manager&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create a new Dataset:\n<ul class=\"wp-block-list\">\n<li>In the Resource Manager popup, click &#8220;New&#8221;<\/li>\n\n\n\n<li>Choose the &#8220;Dataset&#8221; option<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Configure the Dataset:\n<ul class=\"wp-block-list\">\n<li>Dataset API Name: Type &#8220;List5Accounts&#8221;<\/li>\n\n\n\n<li>Object Name: Select &#8220;Account&#8221;<\/li>\n\n\n\n<li>Under &#8220;How to Filter Records&#8221;, select &#8220;None \u2013 Get all records&#8221;<\/li>\n\n\n\n<li>Under &#8220;How to Sort Records&#8221;, select &#8220;Not Sorted&#8221;<\/li>\n\n\n\n<li>Under &#8220;How Many Records&#8221;, select &#8220;Many Records&#8221;<\/li>\n\n\n\n<li>Set the Maximum Number of Records to 5<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1215\" height=\"944\" src=\"https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-dataset-account.gif\" alt=\"Configuring the Account dataset in Resource Manager\" class=\"wp-image-377\"\/><figcaption class=\"wp-element-caption\">Creating and configuring the Account dataset in Resource Manager<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">4. Save the Dataset:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Review all settings<\/li>\n\n\n\n<li>Click &#8220;Save&#8221; or &#8220;Create Dataset&#8221;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. Dynamic Field Insertion<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Position the cursor in the second cell of the table<\/li>\n\n\n\n<li>Right-click and select &#8220;Dynamic Fields&#8221;<\/li>\n\n\n\n<li>In &#8220;Select a Resource from global&#8221;, choose:\n<ul class=\"wp-block-list\">\n<li>Dataset: &#8220;List5Accounts&#8221;<\/li>\n\n\n\n<li>Field: &#8220;Account Name&#8221;<\/li>\n\n\n\n<li>Option: &#8220;Value&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>The field will be inserted with the syntax: {!$Dataset.List5Accounts.Name.Value}<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1215\" height=\"944\" src=\"https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-dataset-list-account.gif\" alt=\"Inserting dynamic fields into the document\" class=\"wp-image-378\"\/><figcaption class=\"wp-element-caption\">Adding dynamic fields to display account names<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">6. Preview and Testing<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Save the document:\n<ul class=\"wp-block-list\">\n<li>Click the &#8220;Save&#8221; button in the docu2.me menu<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Preview the document:\n<ul class=\"wp-block-list\">\n<li>Click the &#8220;Print&#8221; button in the toolbar<\/li>\n\n\n\n<li>This will open a new window with the PDF preview<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Check the dynamic table:<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1215\" height=\"944\" src=\"https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-dataset-list-account-pdf.gif\" alt=\"Previewing the document with dynamic account data\" class=\"wp-image-379\"\/><figcaption class=\"wp-element-caption\">Previewing the document with dynamic account data<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Final Result<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"474\" src=\"https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-dataset-list-account-pdf.png\" alt=\"Final dynamic account table output\" class=\"wp-image-380\" srcset=\"https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-dataset-list-account-pdf.png 806w, https:\/\/docu2.me\/help\/wp-content\/uploads\/2024\/11\/resource-manager-dataset-list-account-pdf-480x282.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 806px, 100vw\" \/><figcaption class=\"wp-element-caption\">Final dynamic Salesforce account table in the document<\/figcaption><\/figure>\n\n\n\n<p>A table with two rows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>First row:<\/strong> Header &#8220;List 5 Accounts&#8221;<\/li>\n\n\n\n<li><strong>Second row:<\/strong> Dynamic list with the names of the first 5 Salesforce accounts<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Functionality:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The account list will automatically update with changes in Salesforce data<\/li>\n\n\n\n<li>The document will always show the first 5 accounts as defined in the Dataset<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Resources Used<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Resource Manager:<\/strong> To configure dynamic resources such as Datasets<\/li>\n\n\n\n<li><strong>Dataset:<\/strong> To configure the query for Salesforce account records<\/li>\n\n\n\n<li><strong>Dynamic Fields:<\/strong> To insert Salesforce data into the document<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Important Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This example demonstrates the basic integration between docu2.me and Salesforce.<\/li>\n\n\n\n<li>The Dataset can be customized with specific filters and sorting.<\/li>\n\n\n\n<li>Additional fields can be included beyond the Account Name.<\/li>\n\n\n\n<li>Table formatting can be adjusted as needed.<\/li>\n\n\n\n<li>The limit of 5 records is an example and can be adjusted.<\/li>\n\n\n\n<li>The table content updates automatically with changes in Salesforce.<\/li>\n\n\n\n<li>It&#8217;s important to test the document with different datasets.<\/li>\n<\/ul>\n\n\n\n<p>This tutorial provides a foundation for working with dynamic resources in docu2.me integrated with Salesforce, allowing you to create customized and automated documents.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to create a dynamic table in docu2.me that displays Salesforce account data using Resource Manager, Datasets, and Dynamic Fields in this step-by-step practical tutorial.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-dynamic-resources"],"_links":{"self":[{"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":6,"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":717,"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/posts\/278\/revisions\/717"}],"wp:attachment":[{"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docu2.me\/help\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}