Assets
Assets is a part of the Features Library. Assets have the ability to host files, such as PDFs, that can be opened in an app and viewed in full-screen mode.
Assets Properties
The Assets feature has the following properties:
- Name - Sets the name of the feature in the app. It is defaulted to Assets but can be changed.
- Service Uri - This is an uneditable
- Microservice Type - Select the Microservice Type. Choose between Normal, Auth, or PWA. The default is set to Normal, which is the recommended setting.
Below are instructions on:
- How to Add the Asset Feature to an App
- How to Add Files to the Asset Feature
- How to add an Uploaded File to an App Page
- How to Delete an Asset
- How to Edit an Asset
How to Add the Asset Feature to an App
- 1
- Create or open an existing app.
- 2
- Click the + plus sign located in the top left of the screen.
- 3
- A new window will open. Under the Features section select Assets.
- 4
- The Assets Feature will appear at the bottom of the Content list in the left-hand column.
How to Add Files to the Asset Feature
- 1
- Click the Pencil Icon next to Assets.
- 2
- Click on Microservice to expand the section.
- 3
- Click Launch Admin. A new tab will open where files can be added and managed.
- 4
- Click the blue + icon in the bottom right corner of the screen. A modal window will appear.
- 5
- Click Choose File and select a file from your saved items to upload.
- 6
- Click Save.
- 7
- The file will appear in the list.
- 8
- Confirm the file uploaded as expected by clicking OPEN in the column titled Draft File. A new tab will open displaying the uploaded file.
-
How to Add an Uploaded File to an App Page
- 1
- After adding a file to the Asset Feature, copy the file's URL that appears in the URL column.
- 2
- Return to the app and click the Pencil Icon of the Page you wish you edit.
- 3
- In any Component with a Link Property, paste the copied URL into the external link field. Make sure to remove any extra spaces before or after the URL.
-
- 1
- Click the Pencil Icon next to Assets.
- 2
- Click on Microservice to expand the section.
- 3
- Click Launch Admin. A new tab will open where files can be added and managed.
- 4
- Click on the trash icon next to the file. The file will be marked for deletion. The file will be deleted the next time the app is published. Please note, any apps using the URL associated with the deleted file, will no longer display the file to app users. Click UNDO to cancel the file deletion before publishing the app.
- 1
- Click the Pencil Icon next to Assets.
- 2
- Click on Microservice to expand the section.
- 3
- Click Launch Admin. A new tab will open where files can be added and managed.
- 4
- Click the Pencil Icon next to the file.
- 5
- Click Choose File and select a file from your saved items to upload.
- 6
- Click Save. The file URL will remain the same, but the new file will be shown in place of the previous file. This allows Studio Users to easily update linked files without having to update the file URLs throughout an app.