• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)/Inspection response formatting and advanced settings

Inspection response formatting and advanced settings

90 views 0 Updated on November 27, 2022

One of the benefits of using inspections with DocumentsCorePack (DCP) is that you can overcome certain limitations of the default export to PDF functionality. For example, when exporting an inspection as a PDF with DCP, you can set the formatting capability for values.

Example of an export created with DocumentsCorePack (left) with an out of the box export (right)
Figure 1: Example of an export created with DocumentsCorePack (left) with an out of the box export (right)

This article covers formatting, advanced settings and translation for inspection fields. For more general information about this feature, you can find details here: Working with Field Service Inspection responses.

Formatting

An inspection field consists of a parent container and several sub elements. The other elements are outlined below.

  • The table row represents a question with an answer.
  • The <<index>> field is the number of the question.
  • The <<title>> field contains the question itself.
  • The <<value>> field contains the answers.
  • For all these fields you can use the standard Word formatting options. The <<value>> field also can contain data like dates or numbers, so you have additional formatting options here. 

To open the properties, you have to place the cursor inside the <<value>> field ❶ and use the “Field properties” button ❷ (also available in the Word menu).

Figure: 2: Accessing Field properties of the <<value>> field
Figure: 2: Accessing Field properties of the <<value>> field

The Inspection Properties Dialog will appear and give several more options. Here you can set the value formatting for each supported/needed data type.

Figure 3: Inspection properties dialog with type specific groups

❶ Number Fields

This setup is the same as with standard fields. View this article for more information.

❷ Date and Time fields

This setup is the same as with standard fields. View this article for more information.

❸ Picture Size

Here you can define the required size of pictures for inserted images.

❹ Matrix Table

You can define table formatting by using a custom style sheet for tables.

Advanced settings

An inspection response does not follow the standard table-row model (entity-record model) of Microsoft Dataverse. The actual data is stored in fields as blocks of JSON data and these two elements are only loosely bound.

Due to this, there are additional field properties set in the parent inspection field. To open the properties, place the cursor inside the parent control ❶ and use the “Field properties” button ❷. (also available in the context menu of Word).

Accessing Field properties of the actual inspection field
Figure 4: Accessing Field properties of the actual inspection field

The Inspection Properties dialog will show you three advanced settings for specific fields. Those fields are automatically set when using “Insert as Inspection”, and you usually do not have to change anything here.

Figure 5: Inspection properties

❶Result

The result holds the actual JSON data for all numbers and answers to questions. By default we try to fill this field with the “ResponsJsonContent” [sic] of the Inspection Response table.

❷Template

The template holds the actual JSON data for the questions. By default we try to fill this field with the “JsonContent” [sic] of the Inspection Template table.

❸ID

The ID is required when pictures are used. By default we try to fill this field with the “InpsectionResponse” [sic] of the Inspection Response table.

Translation

Another beneficial feature of inspections is the capability of translation. If you need to create a template that must pull the inspection response in a specific language, you can use the template property template specific language.

That’s all about inspection response formatting and advanced settings! We appreciate your feedback! Please share your thoughts by sending us an email to support@mscrm-addons.com!

Related Articles

Working with Field Service Inspection responses

How do I create relationships using DocumentsCorePack Template Designer

How to set a specific language in your template

External Links

Add inspections to work orders in Dynamics 365 Field Service

Customize or create new styles

Tags:formattinginspectionsfieldslanguage

Was this helpful?

Yes  No
Related Articles
  • Office Theme Support of DocumentsCorePack
  • Dynamic Document Properties
  • Switch environments in the DocumentsCorePack Template Designer
  • Working with Field Service Inspection responses
  • Create an inspection report for a Work Order
  • Create an inspection report for a Work Order Service Task
Latest Articles
  • Office Theme Support of DocumentsCorePack
  • AssureSign for DocumentsCorePack
  • Dynamic Document Properties
  • How to conditionally remove a watermark in DocumentsCorePack templates
  • Document Processing with DocumentsCorePack (DCP)
Popular Articles
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • DocumentsCorePack Online Service Configuration
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Online Services: Required Application Permissions
  • How licenses are counted
Categories
  • *News and General Infos* 51
  • Webinars 34
  • Template Designer(DCP 173
  • DocumentsCorePack(DCP 191
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 62
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.