I've got a simple landing page that is serving as a content reference directory so I can easily look up all content areas without going through each folder. Unfortunately, the number of content areas has increased dramatically (1000+) and I'm looking for an easy way to dynamically display them on the microsite.

Is it possible, using ampscript or SSJS, to retrieve all content areas for a specific folder and not globally? I've got the code to do this with ampscript globally now but it has started to time out due to the large number of content areas.


It turns out it was much easier to solve than I had thought. Just had to filter by Category ID.

SET @fs = CreateObject("SimpleFilterPart") SetObjectProperty(@fs, "Property", "CategoryID") SetObjectProperty(@fs, "SimpleOperator", "equals") AddObjectArrayItem(@fs, "Value", <CategoryID Value>)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.