We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As soon as a I update an URL column, the execute_batch() doesn't work. I can update all items individually.
When I change e.g. only varchar column, then the execute_batch() works.
this works:
sptListItems = ctx.web.lists.get_by_id(sptListId) item = sptListItems.items.get_by_id(1).get().execute_query() # SharePoint speichert Hyperlinks als Dictionary mit "Url" und "Description" hyperlink = {'Url': "http://www.happy-pc.ch", 'Description': ""} # item.set_property("SPTURL", hyperlink).update().execute_query() item.set_property("SPTURL", hyperlink).update().execute_query() item = sptListItems.items.get_by_id(2).get().execute_query() hyperlink = {'Url': "http://www.happy-pc.ch/tester", 'Description': ""} item.set_property("SPTURL", hyperlink).update().execute_query()
this doesn't work with execute_batch():
sptListItems = ctx.web.lists.get_by_id(sptListId) item = sptListItems.items.get_by_id(1).get().execute_query() # SharePoint speichert Hyperlinks als Dictionary mit "Url" und "Description" hyperlink = {'Url': "http://www.happy-pc.ch", 'Description': ""} # item.set_property("SPTURL", hyperlink).update().execute_query() item.set_property("SPTURL", hyperlink).update() item = sptListItems.items.get_by_id(2).get().execute_query() hyperlink = {'Url': "http://www.happy-pc.ch/tester", 'Description': ""} item.set_property("SPTURL", hyperlink).update() ctx.execute_batch()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As soon as a I update an URL column, the execute_batch() doesn't work.
I can update all items individually.
When I change e.g. only varchar column, then the execute_batch() works.
this works:
this doesn't work with execute_batch():
The text was updated successfully, but these errors were encountered: