Seeq Team Shamus Cunningham Posted June 3, 2021 Seeq Team Share Posted June 3, 2021 Starting in Version 50 Seeq now includes a Corporate Drive which is a great place to store shared documents. In order to push content to the Corporate drive using the folder path structure you need to include a bit of special code for the base "Corporate" folder spy.push(data=csv_file,workbook=f'{spy.workbooks.CORPORATE} >> My Folder Name >> WorkbookName') 2 Link to comment Share on other sites More sharing options...
Seeq Team Shamus Cunningham Posted June 4, 2021 Author Seeq Team Share Posted June 4, 2021 To follow up if you want to put the folder and workbook names into variables the code looks like this FolderPath = 'Folder level 1 >> Folder level 2' WorkbookName = 'My Workbook' spy.push(data = statusExpanded,workbook=f'{spy.workbooks.CORPORATE} >> ' + FolderPath + ' >> ' + WorkbookName) 1 Link to comment Share on other sites More sharing options...
Hamdi Posted December 6, 2021 Share Posted December 6, 2021 I tried to push a workbook to the corporate folder using the command you posted, however it gave me an error saying: module ‘seeq.spy.workbooks’ has no attribute ‘CORPORATE’ the seeq python module version I am using is: 50.3.0.173. Any idea how I can solve this issue? Link to comment Share on other sites More sharing options...
Seeq Team Solution Shamus Cunningham Posted September 10 Author Seeq Team Solution Share Posted September 10 The Updated way to do this is spy.push(data=csv_file,workbook=__Corporate__ >> My Folder Name >> WorkbookName') spy.workbooks.push(TemplateWorkbook, path='__Corporate__ >> Add-on Testing') Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now