I need to display the media files dynamically.
A folder can contain one or more images and it varies depending on the product I want to show.
I only have the local directory where the images are, and I need to show everything inside.
It is complex and time consuming to keep an Excel spreadsheet that will change all the time.
The system should be smart to load this according to the contents of the folder.
My files already exist in an internal company folder structure.
I don’t want to copy them to my project because there are too many files and the amount and size just tend to increase.
I just want to reference the content path dynamically.
I want the collection elements from my experiment to look inside a folder and show everything inside dynamically, without having to change the project in Composer every time a new image is added or removed.
If you wish to update, on a regular basis, the contents of folders bound to collections, share each folder copied into the Intuiface project files and then use an FTP server to automate the upload of files into that folder.
Map the shared folder location to the PC with the experience and use the folder you have mapped in the collection, if that fails to work you will need to create a ROBO copy script to add things from folder A to Folder B that should help you with the scenario.
Create your collection and change the URI location inside the IFX file. I wouldnt recommend doing this but this may be a work around.I simply replaced DefaultValue="Player://data/collections"/> to DefaultValue="the location of your mapped folder."/>
Once you take these steps you will have the dynamic folder show all of the content inside the collection.
We don’t have that as a “built-in” Interface Asset but it would be totally doable to create a custom .NET Interface Asset that will read anywhere on your Windows device (including a network drive) and populate a collection.
I’m summoning @Seb to this thread as he speaks .NET fluently
Perfect. If they can do that, it would help me a lot.
I just tested the ability to drag a folder into the Collection.
But I realized that her link is fixed and I can’t change the Data Source through runtime triggers.
Yes you can, that’s what I linked above one of my previous answers here, this article is using exactly dynamic links:
But the issue you may encounter is that you will have a unique folder for the whole experience which, from what I’ve understood, doesn’t meet your requirements.
@Alex I have tested this feature, but in fact it still does not meet me.
Me only partially, see why:
Folder contents are loaded and displayed dynamically = OK!
The folder is a link and does not take up space in the project = OK!
The folder is a fixed link and cannot be changed = NOT OK!
Collection is linked to fixed library content = NOT OK!
Compatibility with other platforms = NOT OK!
Having a custom Interface Asset sounds like the ideal solution for your use case, where you’ll have the flexibility to create your own data template. 2 options there:
JavaScript: already exist, sample available here, but will only read a sub folder in the experience (JS security limitation). Using SyncToy to mirror your existing folder in this XP subfolder would make it work, but would indeed double the size used on your hard drive. But you can do it today Other advantage, it works on all the Platforms Intuiface supports.
.NET: to be developed, could do the same thing as the JS version, but without the limitation to an XP sub-folder. Downside: it would only work on Windows. Developing such an Interface Asset is not in our current roadmap as it could be done by any Intuiface user and doesn’t require bandwidth from our product team.
Other options could be discussed as well, depending on the existing data we are talking about, its structure, usage, etc…