The Salesforce documentation provides helpful examples of creating regular data extensions using SSJS, but no example for creating a filtered one. Does anyone have a code sample for creating a filtered data extension? I'm unsure of the syntax that would need to be used. Thanks!


Filtered data extension comes from the main data extension from which you want to filter a data. I don't think you need ssjs to create a filtered data extension. You can simply click on create in DE and from the type of DE choose filtered DE and the source DE you want to filter it from. You filtered DE will be created.

  • 2
    Thanks, but I'm interested in creating a script to automate needed data extensions (regular and filtered). From what I can see, a filter definition (SOAP API) specifying the source DE may be what I need. – Glen Mazza Mar 6 '17 at 1:50
  • I need the same answer. were you able to finish this task? – pragyanshu kukreti Jan 22 '18 at 15:12

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.