anthonyreilly / NetCoreForce

Salesforce REST API toolkit for .NET Standard and .NET Core
MIT License
110 stars 63 forks source link

Will this library work? #44

Open TonyValenti opened 2 years ago

TonyValenti commented 2 years ago

I need to push and pull data out of a sales force (I think "lightning") account. Will I be able to do that with this library?

I'm totally new to sales force.

anthonyreilly commented 2 years ago

Generally, yes - it wraps the standard REST API : https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_rest.htm

While this doesn't implement all of the API, the usual CRUD type operations are supported. It's mainly meant for smaller amounts of data, one record at a time kind of things. If you need to do large amounts, I haven't yet implemented the bulk API here.

TonyValenti commented 2 years ago

Hi @anthonyreilly - I'm using your library and really liking it!

I've found one thing I'm bumping into though. How do I create picklist options? I have this screen in SalcesForce: image

Which I can query using the "GetObjectDescribe" method, however, I can't figure out how to create new values.

Can you help me out?

TonyValenti commented 2 years ago

Hi @anthonyreilly - one other question: How do I programmatically add fields to an object?

anthonyreilly commented 2 years ago

I think those things can be done via the Tooling API - https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/intro_api_tooling.htm But I haven't added any of that functionality to this library. It's something I can look into however

TonyValenti commented 2 years ago

@anthonyreilly - That would be really awesome if you can! What kind of timeline were you thinking?

TonyValenti commented 2 years ago

Hi @anthonyreilly - Do you think you can add the ability to Create/Update/Delete picklist options?