pbixrefresher-python icon indicating copy to clipboard operation
pbixrefresher-python copied to clipboard

Cant publish to workspace other than default workspace

Open ekegren opened this issue 7 years ago • 4 comments

Hi,

When I add a workspace param it still publishes the report to My Default Workspace - I see some errors in the log that it cannot find the workspace I am requesting - even though I can see it in the list?

ekegren avatar Aug 03 '18 10:08 ekegren

You can try this way, it is quite simple. https://github.com/LevonPython/PbiRefresher

LevonPython avatar Mar 31 '20 10:03 LevonPython

You can try this way, it is quite simple. https://github.com/LevonPython/PbiRefresher

Can we publish to selected workspace, not only My workspace?

virt12 avatar May 04 '22 12:05 virt12

Absolutely, script is open source, you can modify to your workspace.

Absolutely, script is open source, you can modify to your workspace.

Ok I have tried to select other workspace not My workspace as default. As example list of workspaces: image I tried to use win.child_window(title="FAVS_Internal", control_type="DataItem").select("FAVS_Internal") in publish part but it didn't work, I am just getting this output: {'title': 'FAVS_Internal', 'control_type': 'DataItem', 'top_level_only': False, 'parent': <uia_element_info.UIAElementInfo - 'Anvy - Power BI Desktop', WindowsForms10.Window.8.app.0.2ea1a2_r8_ad1, 4927826>, 'backend': 'uia'}. So I think that code has a bug and can't choose another workspace. Maybe possible somehow to fix it?

virt12 avatar May 05 '22 14:05 virt12