Create a Template that Uses the Custom Pages in dspCompose™

Before performing this task:

  1. Create a looped template and process in Integrate. Refer to Configure Process Template Loops for a BDC Script Template with Looping Enabled or Configure Process Template Loops for a GUI Script Template with Looping Enabled in Integrate for more information.
  2. Create all tt Tables and tx Views for the Integrate Process
  3. Create rt Tables from the tt Tables
  4. Create Custom Pages and Views

Once all of the custom pages and their views are created, follow these steps to use them in dspCompose.

NOTE: A Post Message table must be defined on the Template (Post Message Table) page (Team > Templates > Vertical View > Configuration > Post Message Tables). This page must have a record for the Data Entry table that contains the column where the returned Post Message is stored. If the Post Message table is not defined, an error displays when a user clicks Post on the Request (Roles) page and the posting process stops.

To create a template that uses the custom pages:

  1. Select Team on the Navigation pane.

  2. Click Templates for a team.

  3. Click Add.

    NOTE: If creating the template on the Create Template page, do not use the Create From Integrate Template option to create the template.

    View the field descriptions for the Templates page’s Vertical View.

  4. Enter a name in Template Name field.

  5. Select Custom Setup from the Type list box.

  6. Select the target ERP system connection from the Connection list box.

  7. Click Save.

  8. Click Configuration tab.

  9. Click Post Message Tables.

  10. Click Add.

    View the field descriptions for the Template (Post Message Tables) page.

    NOTE: When the custom template is saved, one post message table is created by default. A post message table for the main table created in Create all tt Tables and tx Views for the Integrate Process must also be added.

  11. Select the data source that stores the tt tables created in Create all tt Tables and tx Views for the Integrate Process from the DATA SOURCE ID list box.

  12. Select the tt table name for the header table from the TABLE NAME list box.

  13. Select ID from the POSTING PRIMARY KEY COLUMN list box.

  14. Select PostError from the POST ERROR COLUMN list box.

  15. Select PostMessage from the POST MESSAGE COLUMN list box.

  16. Click Save.

  17. Click Add.

    View the field descriptions for the Template (Post Message Tables) page.

  18. Select the data source that stores the rt tables created in Create all tt Tables and tx Views for the Integrate Process from the DATA SOURCE ID list box.

  19. Select the rt table name for the header table from the TABLE NAME list box.

  20. Select ID from the POSTING PRIMARY KEY COLUMN list box.

  21. Select PostError from the POST ERROR COLUMN list box.

  22. Select PostMessage from the POST MESSAGE COLUMN list box.

  23. Click Save.

    NOTE: The following steps must be performed for each additionaltt / rt table combination:

  24. Click Add.

    View the field descriptions for the Template (Post Message Tables) page.

  25. Select the data source that stores the tt tables created in Create all tt Tables and tx Views for the Integrate Process from the DATA SOURCE ID list box.

  26. Select the tt table name for the detail table from the TABLE NAME list box.

  27. Select ParentID from the POSTING PRIMARY KEY COLUMN list box.

  28. Select PostError from the POST ERROR COLUMN list box.

  29. Select PostMessage from the POST MESSAGE COLUMN list box.

  30. Click Save.

  31. Click Add.

  32. Select the data source that stores the rt tables created in Create all tt Tables and tx Views for the Integrate Process from the DATA SOURCE ID list box.

  33. Select the rt table name for the detail table from the TABLE NAME list box.

  34. Select ParentID from the POSTING PRIMARY KEY COLUMN list box.

  35. Select PostError from the POST ERROR COLUMN list box.

  36. Select PostMessage from the POST MESSAGE COLUMN list box.

  37. Click Save.

To continue configuring the template:

  1. Navigate to the Templates page’s Vertical View.

  2. Click Configuration tab.

  3. Click Edit.

    View the field descriptions for the Templates page’s Vertical View.

  4. Select the name of the Integrate template created in Create a Looped Template and Process in Integrate from the Integrate Template ID list box.

  5. Select the name of the Integrate process created in Create a Looped Template and Process in Integrate from the Integrate Process ID list box.

  6. Click Advanced tab.

  7. Select the component name that contains the Archive pages created for the header loop in Create Archive Pages from the Template Archive WebAppID list box.

  8. Select the page name for the Archive page created in Create Archive Pages from the Template Archive Page ID list box.

    NOTE: The page listed here will be the page linked to from Archive Page ID on the Request page after posting. Depending upon the business requirements, modifications may need to be made to this page and underlying view to link to pages for the other data entered and archived.

  9. Click Save.

  10. Click Custom Archive Tables.

    View the field descriptions for the Template (Archive Settings) page

  11. Click Add.

  12. Select the component name that contains the tt tables created in Create all tt tables and tx views for the Integrate Process from the ACTIVE TABLE DATA SOURCE ID list box.

  13. Select the tt header table name from the Active Table Name list box.

  14. Select the component name that contains the rt tables created in Create rt Tables from the tt Tables from the ARCHIVE TABLE DATA SOURCE ID list box.

  15. Select the corresponding rt table name from the ARCHIVE TABLE NAME list box.

    NOTE: Repeat steps 11-15 for each of the tt/rtdetail tables created for the Integrate Process loops.

    Continue with Add Custom Roles for the Looped Template.