Seeq Team Shamus Cunningham Posted June 3, 2021 Seeq Team 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
Seeq Team Shamus Cunningham Posted June 4, 2021 Author Seeq Team 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
Hamdi Posted December 6, 2021 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?
Seeq Team Solution Shamus Cunningham Posted September 10, 2024 Author Seeq Team Solution Posted September 10, 2024 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')
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