Forum Discussion
Rob
4 years agoNew Contributor
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 d...
- 4 years ago
You can combine calculate with clearcalculateddate like this:
Dim script as string = pov api.data.calculate($"{script} = 0 * {script}") api.data.clearcalculateddata(script)The first row will make it calculated, the second row will delete it, because now it is calculated.
EricOsmanski
OneStream Employee
4 years agoCan also use the below where amount is 0.0 and isNoData is True.
api.Data.SetDataCell(memberScript, amount, isNoData, isDurableCalculatedData)
Related Content
- 3 years ago
- 2 years ago
- 2 years ago