keenmate / fluently-sharepoint Goto Github PK
View Code? Open in Web Editor NEWSentence-like CSOM programming experience
License: MIT License
Sentence-like CSOM programming experience
License: MIT License
either that or should receive operation as a parameter, now it has to return op from outer scope.
It cannot stay as part of the current solution. First it should not be there and second it's blocking pushes of update nugets to nuget.org in VSTS.
Add logging method calls to extension methods.
The logic should be like this
So it can be set on an existing CSOMOperation through an extension method at any time.
Something like this:
var op = "https://keenmate.sharepoint.com/sites/demo/manufacturingfacility"
.Create(new NlogLogger())
.SetOnlineCredentials(username, password)
.SetCorrelationId(Guid.NewGuid())
.LoadList("Stock Items")
.Execute()
.SetCorrelationId(Guid.NewGuid()) // new operation group
.CreateList(....)
.Execute();
Provide methods to update field settings and list settings to CSOMOperation.
op.GetList("Test list")
.ModifyField<NumberField>("NumberField1", field => {
field.Required = false; // property is made up use the proper one
field.DefaultValue = 3.14; // property is made up use the proper one
}
ModifyField method should be generic, if possible, to provide user with proper field properties without a need to convert the object to specific field type.
No matter if a FailHandler is defined. At the moment it just silently fails without any useful information
Cannot create field with percentage.
So it is directly accessible in the error handling function and does not have to be accessed from outside scope.
Description + examples
Messages.resx is broken in the project. Code throws an error complaining about missing resources.
Add "include" parameter so user is able to include custom fields while fetching data from SharePoint.
Be aware that once .Include method is used CSOM stops retrieving FieldValues and whole collection will be empty. User won't be able to used listItem["MyColumn"] unless it's included in the include parameter
Add these options to CreateWeb method to make it more usable
Recheck the method what's going on.
We had to use
ListItemCollection items;
op.LoadList(listTitle, (context, list) => {
items = list.GetItems(query);
context.Load(items);
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.