Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Field Service forum / Offline html in the in...
Field Service forum

Offline html in the inspection form

(0) ShareShare
ReportReport
Posted on by 221

Hi,

We're using Resco MobileCRM application along with Field Service.

I need to put some custom javascript logic in the inspections form. Is it possible?

I know how to do this with ordinary entities, creating an iframe with offline HTML, but how do I do that with inspections? (there are lots of different templates and there is no form in the Woodford)

Thanks,

Arsen.

  • d365ryan Profile Picture
    10 on at
    RE: Offline html in the inspection form

    Hi Arsen Aghajanyan

    Are you still working in this area - have some questions if you could help?

    Ryan

  • Arsen Aghajanyan Profile Picture
    221 on at
    RE: Offline html in the inspection form

    Sure!

    Here it is

    Annotation-2019_2D00_03_2D00_13-141103.jpg

    The script field (resco_script) was not on the form so I've just added it to the form and set the value to the offline HTML path in the Woodford config :) 

    Regards,

    Arsen.

  • Thomas David Dayman Profile Picture
    11,323 on at
    RE: Offline html in the inspection form

    Nice!

    Is it possible to send over a screenshot to where you found it?

  • Verified answer
    Arsen Aghajanyan Profile Picture
    221 on at
    RE: Offline html in the inspection form

    After some hours of research, I finally found a way to do this. There is resco_script field in the resco_questionnaire entity where you can specify the path to the offline html in woodford. That will trigger the custom code!

  • Arsen Aghajanyan Profile Picture
    221 on at
    RE: Offline html in the inspection form

    Unfortunately, this solution didn't work. the offline html code was not triggering on the inspection template form. I've contacted Resco for further guidlines.

  • Arsen Aghajanyan Profile Picture
    221 on at
    RE: Offline html in the inspection form

    I don't have a form in the woodford for questionnaries, actually. The questionnaries can have different form depending on the template. This was conducted by the inspection designer, but there is no way adding offline html to the designer.

    Anyway, I'll try to create an empty boilerplate form and add offline html to it. Maybe it will do the trick.. Thanks for suggestion :)

  • Thomas David Dayman Profile Picture
    11,323 on at
    RE: Offline html in the inspection form

    Maybe you can try and add offline html to the Questionnaire entity? Thats where the records are stored. Not sure how you will go around auto generating pdf's but you can have a look at the jsbridge reference here and see if any fucntions can do this for you - www.resco.net/javascript-bridge-reference

  • Arsen Aghajanyan Profile Picture
    221 on at
    RE: Offline html in the inspection form

    Hi Thomas,

    Yes, I know about resco support. Most probably I should try contacting them.

    Anyway, the functionality I'm trying to achieve is to generate a pdf from an inspection using mobile reports automatically, whenever an inspection is saved. Do you know how it is possible to achieve this kind of functionality?

    Regards,

    Arsen.

  • Thomas David Dayman Profile Picture
    11,323 on at
    RE: Offline html in the inspection form

    Cant see any options around this in the inspections designer. I think you should shoot over a message to resco to see if its possible

    www.resco.net/contact-support

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,281 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans