The Media Browser is a virtual folder in Agillic where you can upload and store different types of files to use for configuration. The Media Browser is located within the Assets Module and is divided into 'Library Blocks', 'Text Resources', 'Web Applications' and 'Templates'. These files include but are not limited to:
- Text Resources
- Email Templates
- Web and Advisor Templates
- Print Templates
- Push Templates
- Custom Applications
- Standard Applications
You will also find the Library in the Media Browser, which stores all library blocks that you've made.
While some folders are created by default, you may choose to create a folder structure to keep your items organised and fitting around your use cases.
It's important to note that images, GIFs, PDF files, and the like are no longer stored in the media browser. Instead, they're uploaded and stored in the Assets Manager.
You can read more about how to upload files to the Media Browser here.
Examples of Text Resources
As text resources can cover a lot of things, here are some examples of how text resources can be used when uploaded and stored in the Media Browser.
Disabling Agillic Link Tracking
If you want to disable Agillic link tracking to stop yourself from interfering with deep links to apps and the like, you have the option to do so on a per-domain basis. With this feature enabled, Agillic will not append Events or apply any redirection to the specified external links.
To disable the Agillic link tracking, you will need to create a .txt file called 'notrack.txt' and import the file to the resource folder in your Media Browser. It's important that if you have more than one domain you wish to disable tracking on, that you include one domain per line.
Wildcards (*) are supported, allowing you to simply write 'agillic.com*', matching all sub-pages under 'agillic.com'. You can also place the wildcard in front of the domain to match subdomains to this domain. Please note that if you use "www." in your links, you will also need to add the wildcard in front of the domain to make it work.
Link - agillic.com*
Example - would also match 'agillic.com/preferences/email'
Link - *agillic.com*
Example - would also match 'shop.agillic.com/order_conf'
The file must be placed at the following location. In the example below, please replace the placeholder text with the relevant values (name of your instance):
Link - https://{PLACEHOLDER}-stag.agillic.eu/bcmportlet/webdav/bcm/media/text-resources/
Example - https://agilliccandy-stag.agillic.eu/bcmportlet/webdav/bcm/media/text-resources/
Make sure the publish to Production once you've finished.
Storing your Logo as a Text Resource
Storing your logo as a text resource instead of an image allows you to reuse the same resource across channels on multiple outbound communication items. If you use the text resource in, for example, multiple blocks across different emails, you'll be able to change the logo on all blocks using the text resource at the same time. You could do this by simply changing your logo directly in the text resource. Therefore, you don't need to go about changing individual blocks.
A logo stored as a text resource