How can I get the Id of a media folder dynamically, using Angular?
Example
mediaResource.getChildren(ID) //wanna get the Id dynamically
.then(function (contentArray) {
...
}
I'm creating an extension for the Backoffice were I need to list all the images of a specific folder, but I know that once I create it as a package, the Id may be different than what I have now. Hence, I need to figure out how to find that specific folder, getting the id dynamically.
Backoffice reference Media folder in Angular
How can I get the Id of a media folder dynamically, using Angular?
Example
I'm creating an extension for the Backoffice were I need to list all the images of a specific folder, but I know that once I create it as a package, the Id may be different than what I have now. Hence, I need to figure out how to find that specific folder, getting the id dynamically.
Nevermind... I've found an answer using entityResource
is working on a reply...