Field Service

Get Involved. Join the Conversation.

Topic

    Vitor Souza
    Plugin not receiving OFSC properties valuesAnswered
    Topic posted August 21, 2019 by Vitor SouzaGreen Ribbon: 100+ Points, tagged Configuration, Mobility / Mobile Apps 
    30 Views, 1 Comment
    Title:
    Plugin not receiving OFSC properties values
    Summary:
    Plugin not receiving OFSC properties values
    Content:

    Hi,

    We are starting to develop a plugin that will print some properties values in the screen and then save the page as PDF (plugin name "Save PDF" in OFSC)...
    But we are facing the following problem: When we click in the plugin button in Edit/View activity context from technician, the properties values are not being printed and instead the property name is being printend. For example, in our test we setted activity ID and city values in index.html to be printed but in our plugin screen the names appt_number and ccity are being printed.
    We suspect that the problem is the object "receivedData" in plugin.js file is not receiving the OFSC properties values, only aid information for some reason.
    Does anyone know what may be causing this issue?

    Thanks!

    Vitor

     

    Image:
    Document:

    Best Comment

    Adam

    You need to select activity properties on the plugin settings page. Only select properties can be set and get in the plugin. javascript.

     

    Comment

     

    • Adam

      You need to select activity properties on the plugin settings page. Only select properties can be set and get in the plugin. javascript.