Accepted Code Samples
OneStream approved sample code snippets and examples.

Forum Posts

What is the syntax to loop through a list of entities

I know enough to read scripts and even to make some simple modifications, but I don't know enough to accomplish this.I have an entity named Reporting_Entity_Groups. I want to loop through all of the children of this entity and run a test against the ...

chuckbo by New Contributor III
  • 254 Views
  • 13 replies
  • 0 kudos

Resolved! Clear data on Origin Forms

Does anyone have a piece of code to clear data on the origin Forms member for just a few accounts? The api.data.clearcalculateddata is not possible (data is not calculated) and api.data.setdatacell doesn't work. Thanks.

Rob by New Contributor
  • 313 Views
  • 6 replies
  • 0 kudos