0

How can we retrieve the FolderID for emails, queries and data extensions using SSJS in marketing cloud ?

I couldn't find any value associated with folderID from returned array of emails, queries.

Anyone can help me on this please ?

2
  • can you give an example of how you are calling these: Core functions? WSProxy? SOAP calls? I believe most of those corresponding objects does have a 'CategoryID' inside them that is (despite the confusing name) actually the ID of the folder it is in. – Gortonington May 1 '20 at 19:25
  • I was unable to get it from core function, but I tried with customized ones and now it's working for me. Thank you. – Gaurav Bansal May 2 '20 at 14:58
0

CategoryId is SOAP property on object that holds this data. All objects that can be put into folders have it.

1
  • I was unable to get it from core function, but I tried with customized ones and now it's working for me. Thank you. – Gaurav Bansal May 2 '20 at 14:59

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.