Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. const workbook = e.getWorksheet().getWorkbook()
  2. // Remembers the current state of the workbook by assigning a custom view name.
  3. workbook.rememberCustomViewAsync('Fuck you tableau').then(() => console.log('check me'))
  4. //Removes the custom view
  5. workbook.removeCustomViewAsync('Fuck you tableau')
  6. //Changes the viz to show the named saved state.
  7. workbook.showCustomViewAsync('Fuck you tableau')
  8. //Gets the collection of CustomView objects associated with the workbook
  9. workbook.getCustomViewsAsync()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement