Single Page Application XML Definition Example

The following shows a sample XML definition for a single page application (SPA) object in a SuiteApp project named SPA Example with the following information:

For information about SPA SDF custom objects in SuiteApp projects, see Single Page Applications as XML Definitions and singlepageapp.

          <singlepageapp scriptid="custspa_appdashboard"> 
    <name>SPA Example</name> 
    <description>This is a sample SPA SuiteApp that uses NetSuite UIF.</description> 
    <url>app-dashboard</url> 
    <folder>[/SuiteApps/com.example.spa/app-dashboard/]</folder> 
    <clientscriptfile>[/SuiteApps/com.example.spa/app-dashboard/SpaClient.js]</clientscriptfile> 
    <serverscriptfile>[/SuiteApps/com.example.spa/app-dashboard/SpaServer.js]</serverscriptfile> 
    <assetsfolder>[/SuiteApps/com.example.spa/app-dashboard/assets/]</assetsfolder> 
    <loglevel>DEBUG</loglevel> 
    <audienceallroles>F</audienceallroles> 
    <audienceroles></audienceroles> 
    <executeas></executeas> 
    <links> 
        <link> 
            <linkcategory>BASICSETUPCUSTOMIZATION</linkcategory> 
            <linklabel>App Dashboard</linklabel> 
        </link> 
    </links> 
    <notifyuser>F</notifyuser>
    <notifyowner>T</notifyowner>
    <notifyadmins>F</notifyadmins>
    <notifyemails>testemail@test.com</notifyemails>
</singlepageapp> 

        

Related Topics

Single Page Applications
Components and Structure of Single Page Applications
Single Page Application Creation And Development
Single Page Application Management
Troubleshooting Single Page Applications

General Notices