You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

This section covers how to add a Resources file (like a java script library) and how to attach the resource to your pages.

Step 1 - Attach Resource

  1. Navigate to AppStudio for you solution
  2. In the Navigation Menu click on Resources -> Version Resources


  3. Right click on the top directory and add new folder. In this example, we will be uploading a JS Navigation Library
  4. In the new folder upload a resource (in this example a JS library) by clicking on Upload File. Select the appropriate location


Step 2 - Attach Resource to Page

  1. In AppStudio, create a new page or use a preexisting page (Assume for this example there exist a page called Client Search)
  2. In the selected page go to Page Builder by clicking on the lighting icon 
  3. In the DOM section navigate to the Page Manager

     
  4. After selecting Page Manager click on the Setting button in the properties section
  5. A configuration window will pop up, select the Resources tab and click the Add button
  6. Fill in appropriate information. For this example the Type will be Init since. In the Uri, add the the Resources from  Step 1 by clicking on Select Path
  7. Click Save the new resource
  8. Click Save on the Configuration

The Resources has now been added to the solution and can be used. The Resources can be located in the Source section


 

  • No labels