Field Service

Get Involved. Join the Conversation.

Topic

    Adam
    Oracle Field Service Cloud Sample Plugin Working Code
    Topic posted January 18, 2019 by AdamSilver Medal: 2,000+ Points, last edited January 18, 2019, tagged Configuration, Mobility / Mobile Apps 
    90 Views, 2 Comments
    Title:
    Oracle Field Service Cloud Sample Plugin Working Code
    Summary:
    Oracle Field Service Cloud Sample Plugin Working Code
    Content:

    Please find attached working code provided by Oracle for sample plugin. I downloaded it from Oracle documentation and after few fixes and tweaks i made it work and tested it. I am sharing it here in case someone can get benefit from it.

    Thanks

    Version:
    18D
    Document:

    Comment

     

    • Anil Kumar

      Hi Adam,

      Could you please send me any working code where i can update any existing or custom Activity Property. This will be much helpful.

      Thanks,

      Anil

    • Anil Kumar

      Hi Friends,

      I am able to update a Custom Property in Activity Details screen through the Plugin. I have update the plugin.js file and below is the working code of Close Method Section here for the benefit of everyone.

      {
        activity: {
      vin: $('.myInput').val(),
      aid: actid
        },
                      apiVersion: 1,
                      backScreen: 'default',
                      method: 'close'
                  };

      vin : Custom Property

      myInput : declared as class in "index.html" file to capture input value

      actid : declared as global variable in "plugin.js" file to capture activity id and pass to Close Method section

      Thanks,

      Anil