Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Suggested answer

Page Titles and descriptions from Inspection templates

Posted on by 15

Hi

I am trying to replicate what you get when you click on the Export responses to PDF through the SQL data . Does anyone know where the meta data for the page names descriptions and titles are held so I can sort my answers and lay them out as per the code in the PDF export?

Thanks

  • Paul_Bo Profile Picture
    Paul_Bo 70 on at
    RE: Page Titles and descriptions from Inspection templates

    As an alternative - I was able to use the PCF Control for the Mobile Field Service Technicians Report, and adding in the SurveyJS libraries, was able to add the survey questions with responses into it.  The only issue I'm running into now, is formatting the text to wrap.  Here is the link I used from Microsoft to download the report and customize it using Visual Code.

    docs.microsoft.com/.../mobile-powerapp-reporting

    This allows you to use the stored JSON without having to create a custom entity to hold the data.

    Paul

  • Suggested answer
    Markley Profile Picture
    Markley 15 on at
    RE: Page Titles and descriptions from Inspection templates

    Thanks for the response. I am doing all the above I will investigate SurveyJS.

    I am going to create a custom table and pull the data out of the json.

  • Paul_Bo Profile Picture
    Paul_Bo 70 on at
    RE: Page Titles and descriptions from Inspection templates

    Hi Markley,

    Out of the box these are stored as JSON data in the msdyn_inspectiondefinition table.  If you have enabled "Analytics enabled" under Settings --> General --> Field Service Settings --> Inspection - then you can also view the questions and answer data in the msfp_questionresponse and msfp_question tables but the formatting is not great.

    The Inspection templates appear to utilize the javascript libraries "SurveyJS" to format the JSON for the PDF Export and views on the Field Service Mobile App.

    Let me know if that helps you out.

    Good Luck,

    Paul

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans