sharepoint-ruby
sharepoint-ruby copied to clipboard
A ruby client for Sharepoint's REST API.
The URI.encode is not present on ruby 3.0.2
I can see that there is a way you can upload files via a stream but is there a way to download a file via stream to try and speed...
I was attempting to scan through files to find ones with a particular property set, and ran into an error: ``` 3: from /work/gitlab/experiments/sharepoint-label-scan/.bundle/ruby/2.6.0/gems/sharepoint-ruby-0.1.1/lib/sharepoint-properties.rb:27:in `block in add_property' 2: from /work/gitlab/experiments/sharepoint-label-scan/.bundle/ruby/2.6.0/gems/sharepoint-ruby-0.1.1/lib/sharepoint-properties.rb:67:in...
### What isn't working? When I create or load a document library with the `ContentTypesEnabled` property set to `false` the field value always shows as `true`. The JSON that Sharepoint...
When I follow the instruction to create a new list from the readme, it is unable to save. Here is the console's output ``` [83] pry(main)> list = Sharepoint::List.new site,...
Given `file = site.file url`, `file.versions[0].created_by` cannot be accessed, giving `Sharepoint::SPException: The expression "SP.FileVersiond46a2310-db1d-4461-9f18-b6e8dbda498c/CreatedBy" is not valid.` I can print `file.versions[0]` and observe: `"CreatedBy"=>{"__deferred"=>{"uri"=>"https://....sharepoint.com/_api/SP.FileVersion.../CreatedBy"}}` Is there some way to get...
First of all thank you for a great gem! I have a rails api-only app. I configured a user on Sharepoint as a site admin with all permissions (with User...
Ho Plaristote, Thank you very much fro you gem, it's super useful and the only one for rails, I think. If possible, could you provide an example of the find_items...
Sharepoint::Session::UnknownAuthenticationError (Sharepoint::Session::UnknownAuthenticationError):
I am using this gem to connect to SharePoint Online (commercial cloud). It was working yesterday, but today we are receiving Sharepoint::Session::UnknownAuthenticationError during authentication. During get_access_token, @rta and @fed_auth are...