Difference: 0LASubrEnvViewLicenseInfo (1 vs. 3)

Revision 32013-05-03 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV VIEW LICENSE INFO

Line: 28 to 28
  SET 0AD DOCUMENT ID = ACCEPTED SET 0AD DOCUMENT SNO = 100 READ 0AD DOCUMENT HOLD 0 FT 0 BY DOCUMENT KEY
Changed:
<
<
F SET --- TI = <not accepted> T SET --- TI = <accepted>
>
>
F SET --- TEMP 80 = <not accepted> T SET --- TEMP 80 = <accepted>
 
Added:
>
>
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 22012-01-27 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV VIEW LICENSE INFO

Line: 19 to 19
 The license information for the current application will be displayed. If the license has not yet been accepted, an 'Accept' button will be displayed for the user to accept the license terms. If the license was previously accepted, the date/time it was accepted and the user id that accepted it will be displayed instead.

License information for an application is entered via Application Design, Application Properties, then click the 'Licensing Info' button. You can also clear previously accepted license terms on that screen.

Added:
>
>
To check if the license terms have been accepted or not, you can use the following code:
      SET      --- NEXT APPLICATION           =      <your application>
      SET      --- NEXT VERSION               =      <your version>
      OPEN     0AD DOCUMENT  SHARE? Y  FAIL 0 CACHE? N
      SET      0AD DOCUMENT TYPE              =      6
      SET      0AD DOCUMENT ID                =      ACCEPTED
      SET      0AD DOCUMENT SNO               =      100
      READ     0AD DOCUMENT               HOLD 0 FT 0 BY DOCUMENT KEY
F     SET      --- TI                         =      <not accepted>
T     SET      --- TI                         =      <accepted>
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 12012-01-27 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV VIEW LICENSE INFO

This subroutine displays the APPX license info for the current application.


Usage:

      GOSUB    --- .ENV VIEW LICENSE INFO
      *        Check for errors
      IF       --- .ENV VIEW LICENSE INFO     NE


Description:

This subroutine displays the APPX license info for the current application. No parameters are required, however, the user must be running the Desktop Client or an error will be returned.

The license information for the current application will be displayed. If the license has not yet been accepted, an 'Accept' button will be displayed for the user to accept the license terms. If the license was previously accepted, the date/time it was accepted and the user id that accepted it will be displayed instead.

License information for an application is entered via Application Design, Application Properties, then click the 'Licensing Info' button. You can also clear previously accepted license terms on that screen.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2012-01-27

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback