Jump to content

Pushing Items to the same Workbook


Go to solution Solved by Patrick,

Recommended Posts

  • Seeq Team

We have a collaborative script but notice items are getting pushed to different Workbenches depending on which user runs the script, making collaboration difficult.

Link to comment
Share on other sites

  • Seeq Team
  • Solution

When pushing from Data Lab the Data ID is constructed in the following form: [SCOPED_WORKBOOK_ID] {Item Type} Path >> To >> Item >> Item Name.

If the `workbook=` parameter is not specified in the push, SPy will default to 'Data Lab >> Data Lab Analysis', resulting in a different Workbook ID for each user.  Similarly, if a folder Path and/or Workbook Name is specified, the resulting Workbook ID will be different for each user.

To avoid different users pushing to different workbooks, specify the workbook the items are pushed to using the workbook ID, rather than the name (spy.push(metadata=df, workbook='0EE6EA9E-0D22-71A0-A9A2-CD50C033721D')).

This will ensure every user using a particular script pushes to the same workbook.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...