1. paulo gomes
  2. PowerServer Mobile (Obsolete)
  3. Friday, 3 April 2020 17:04 PM UTC

Hi all,

I'm having trouble to find the NVO eon_cordova_calendar in my PB 2017 files. Also I could not find documentation in the Appeon User's Guide about it.

There is a similar question in the Community in December 2017 that Govinda replied informing two URL with examples:

1. https://www.appeon.com/developers/library/code-samples/cordova-demo.html

2. https://www.appeon.com/developers/library/code-samples/appeon-mobile-demo.html

However those URLs do not have anything with the NVO eon_cordova_calendar.

I can get info about the plug-in in the Cordova site but I'm missing the use in PB.

Any information will be appreciated.

Thank you,

 

Paulo Gomes

Interval International / Marriott Vacation Worldwide

paulo.gomes@mvwc.com

pgomes@intervalintl.com

Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 18:49 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Paulo,

 

There are 2 solutions for the Cordova plugins. 

 

In Solution 1: (see here)

The Appeon Cordova PBL only encapsulates the following Cordova plugins as PowerBuilder objects: Bluetooth, Bluetooth Low Energy, Contacts, Fingerprint authentication, Geolocation, Device orientation, & Vibration.

 

In Solution 2: (see here)

PowerServer Mobile has packaged the following most popular Cordova plugins according to the download times on the plugin website. If you know the basics of JavaScript language and can understand the JavaScript code in the plugin, you can access these plugins using a special object Appeon creates -- AppeonMobile.CordovaPlugin.

 

So, that means that the calendar object is not going to be found (by default) in the Appeon_Cordova.pbl. Hence you need to create it yourself. 

On this link and in this other link you may find detailed example instructions on how to create the object and in this link you will find the specific instructions for the calendar Cordova plugin.

The Appeon_cordova.pbl file can be normally found here: C:\inetpub\wwwroot\appeon\developTempFile\

The links you shared, from my previous answers, might have an example of this functionality but not necessarily an object called like so.

 

I hope this helps.

 

Regards,

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 19:04 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

Hi Paul;

      Correct, there is no information on the "eon_cordova_calendar" NVUO object because PowerServer's "Appeon_Cordova.pbl" PBL does not provide this class. Even in the new PS2020 released today.

      In order to use a non-PS supplied Cordova object, you would need to follow the "Workarounds & API's Guide" => "Integrate with Cordova Plugins" => "Cordova plugins (Solution 2)" approach as listed in the PS Help. This approach shows you how to manually import a non-PS supplied Cordova object from the Cordova website

     Then you would need to use the PS supplied "CordovaPlugin" object to "broker" loading the non-supplied Cordova object class. After that step, you would then use the ExecJavaScript() command to interact with the methods & properties of the non-PS supplied Cordova object.

HTH

Regards .. Chris

 

 

 

Comment
There are no comments made yet.
paulo gomes Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 21:04 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 3

Hi Govinda,

Thank you much for the detailed reply. I'll look them and for sure will find a away to use the Calendar.

Thank you.

Regards,

Paulo

Comment
There are no comments made yet.
paulo gomes Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 21:10 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 4

Hi Chris,

Thank you for the prompt reply. Very good information to be followed.

Thank you very much.

Regards,

Paulo

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.