Field Service

Get Involved. Join the Conversation.

Topic

    Adam
    Hosted Plugin Local Development Environment
    Topic posted December 27, 2018 by AdamSilver Medal: 2,000+ Points, last edited January 3, 2019, tagged Configuration, Mobility / Mobile Apps 
    69 Views, 6 Comments
    Title:
    Hosted Plugin Local Development Environment
    Summary:
    How to setup Plugin local dev envirement
    Content:

    Please can someone guide about setting up local dev environment for the plugins? Currently to me the only way to write a code on notepade++ and then upload it on OFSC and test. But I hope this is not the only way.

    Version:
    18D

    Comment

     

    • shankar

      Hi,

      You can either setup XAMPP and IIS in your local system and refer to the local server URL in your plugin URL if you are not doing hosted plugin.

      SN

    • Adam
      Hi Shankar, I will be developing hosted plug-in. Any advise on this please?
    • Adam

      Shankar , Zsolt

      Please can you guide on this question? 

      • Zsolt Tolgyesi

        Hi Adam,

        Sorry, but I unable to help you with a specific answer, because I don't do development (I mean coding).
        Documentation is available https://docs.oracle.com/en/cloud/saas/field-service/18d/fapcf/, OFSC accept HTML5 applications which can be developed in any tool (as you said in Notepad++ too). After a Google search I choose this as a reference https://visualstudio.microsoft.com/free-developer-offers/

        Regards,
        Zsolt

        • Adam

          This Zsolt.

          The issue is, plugin used Oracle provided javascript libraries / functions. If i use my local development environment then it won't work for me.

          For example:  $.extend(window.Plugin.prototype,

          I need to have these libraries only then i can do local development.

          Please correct me if i am wrong.

          • shankar

            Adam, I am not sure if I am following this thread. if you want to use $ functions then you need to have jquery in your reference. I am assuming the HTML page which you are building as an reference to this jquery library. Secondly, extend is a functionality of jquery from my knowledge.