-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
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, { 'BaseTemplate' => Sharepoint::LIST_TEMPLATE_TYPE[:GenericList] } ; nil
=> nil
[84] pry(main)> list.title = 'My new list'
=> "My new list"
[85] pry(main)> list.description = 'A list created by sharepoint-ruby'
=> "A list created by sharepoint-ruby"
[86] pry(main)> list.save
Sharepoint::SPException: A null value was found for the property named 'DefaultContentApprovalWorkflowId', which has the expected type 'Edm.Guid[Nullable=False]'. The expected type 'Edm.Guid[Nullable=False]' does not allow null values.
from ~/.rvm/gems/ruby-2.3.0@[private]/gems/sharepoint-ruby-0.0.2/lib/sharepoint-ruby.rb:86:in `query'
The furthest I got was to do was to add "UniqueContentTypeOrder": { <SOMTHING> } to the hash, I have no idea what that SOMETHING is suppose to be.
Any insight on what I have to add to the deceleration of a new List ( or Folder, as the same thing happens with that )?
Metadata
Metadata
Assignees
Labels
No labels