2021年1月28日星期四

How to get Smartsheet published sheet's url?

I'd like to get url from a Smartsheet published sheet by Python.

Below is my code but it gives me error message.

 # Publish the sheet    sheetToPublish = smartsheet_client.Sheets.set_publish_status(    sheet.id,       # sheet_id    smartsheet.models.SheetPublish({      'readOnlyFullEnabled': True    })    )    publish_sheet = smartsheet_client.Sheets.get_publish_status(      sheet.id)       # sheet_id    print(publish_sheet.readOnlyFullUrl)  

Here is the error message,

AttributeError: 'SheetPublish' object has no attribute 'readOnlyFullUrl'  
https://stackoverflow.com/questions/65947774/how-to-get-smartsheet-published-sheets-url January 29, 2021 at 09:56AM

没有评论:

发表评论