Differences

This shows you the differences between two versions of the page.

Link to this comparison view

getting_started_web [2017/04/06 22:16]
agcyphers \\
getting_started_web [2019/10/23 05:53]
Line 1: Line 1:
-====== Adding the Classes ====== 
  
-Once you have opened the downloaded demo project, find the class or classes you wish to copy to your project and copy them. 
-{{ ::​gswebcopyclass-300x174_1_.png?​nolink |}} 
- 
-Now paste the class(es) in to your destination project. 
-{{ :​gswebbuildsteppos_1_.png?​nolink |}} 
- 
-====== Setting up your Session ====== 
-GraffitiSuite Web Edition now requires that a property be added to your Session object. This property allows each GraffitiSuite Web product to track how many instances of itself are open, and keep from unregistering needed scripts. 
-Right-click the Session object and select Add to Session > Property. 
-{{ :​gswebaddsessionprop-300x245_1_.png?​nolink |}} 
- 
-Ensure the new property is public and is defined as: 
- 
-GraffitiSuiteInstances as Dictionary 
-gswebaddsessionpropdef 
- 
-====== Adding the Build Step ====== 
-Each platform you intend to target now requires a build step for ALL classes (as of Release 21). 
- 
-Begin by right-clicking the left-hand navigator and selecting Build Step > Copy Files. 
-gswebbuildstep 
- 
-Drag your new build step on to the platform you wish to target, then drag it once again to just below “Build” and give it a unique name. 
-gswebbuildsteppos 
- 
-====== Setting up the Build Step ====== 
-Ensure that your new build steps settings are as follows: 
-Applies to: “Both” 
-Subdirectory:​ “” (Leave this field blank) 
-Destination:​ “App Parent Folder” 
-gswebbuildstepdef 
- 
-====== Finally ====== 
-Now navigate to the demo project directory, and drag the scripts directory to the file list in the center pane of the Xojo IDE 
-gswebbuildstepdrag 
-gswebbuildstepadded 
- 
-That’s it! 
-Now all that’s left is to add the classes to your WebPages and write your code!