question

AmatSamMuriIsmail-4793 avatar image
0 Votes"
AmatSamMuriIsmail-4793 asked AmatSamMuriIsmail-5411 commented

HOW TO CONNECT MOBILE APPS WITH SHAREPOINT 365

I need a information about api or method for sharepoint get connection with api from mobile spps

office-sharepoint-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AtulKamble avatar image
0 Votes"
AtulKamble answered AmatSamMuriIsmail-4793 commented

Hello, @AmatSamMuriIsmail-4793

To develop a mobile app that interacts with SharePoint, you can use common services that can be accessed using open protocols. SharePoint Foundation 2010 introduced the client object models, which enabled developers to perform remote communication with SharePoint by using the web programming technology of their choice: .NET Framework, Microsoft Silverlight, or JavaScript. SharePoint introduces a Representational State Transfer (REST) service that is fully comparable to the client object models. In SharePoint, nearly every API in the client object models will have a corresponding REST endpoint. Now, developers can interact remotely with the SharePoint object model by using any technology that supports REST web requests. REST can be consumed by any programming language that you want to use for your mobile application development. You can perform basic create, read, update, and delete (CRUD) operations by using the REST interface provided by SharePoint. REST exposes all of the SharePoint entities and operations that are available in the other SharePoint client APIs. One advantage of using REST is that you don't have to add references to any SharePoint libraries or client assemblies. Instead, you make HTTP requests to the appropriate endpoints to retrieve or update SharePoint entities, such as webs, lists, and list items. For a thorough introduction to the SharePoint REST interface and its architecture, see Use OData query operations in SharePoint REST requests.

Full Article: Build mobile apps for other platforms using SharePoint
: https://docs.microsoft.com/en-us/sharepoint/dev/general-development/build-mobile-apps-for-other-platforms-using-sharepoint


[1]: /answers/storage/attachments/117186-sharepoint-rest-architecture.png



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @atulkamble,

Is there any source code regarding rest to make that connection. Because I’m really really stressed now how to do that,


Thanks sam

0 Votes 0 ·
RaytheonXie-MSFT avatar image
0 Votes"
RaytheonXie-MSFT answered AmatSamMuriIsmail-5411 commented

Hi @AmatSamMuriIsmail-4793,
We can create a mobile app to access sharepoint lists and libraries by rest endpoints. To authenticate your mobile app with SharePoint, you can use the MS-OFBA protocol.You should first authenticate to sharepoint with the oDataAuthenticator class. Before calling the Authenticate method, register the ODataAuthenticator object to the AuthenticationCompleted event.
For Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/build-mobile-apps-for-other-platforms-using-sharepoint


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AmatSamMuriIsmail-4793,
I am checking to see if the problem has been resolved.

0 Votes 0 ·

HI RaytheonXie-MSFT,

For your info,

now i can use Run User Flow, how we can use this ODataAuthenticator in Flutter Apps development
can you provide link how todo connection using it.

thanks sam



0 Votes 0 ·
AmatSamMuriIsmail-4793 avatar image
0 Votes"
AmatSamMuriIsmail-4793 answered RaytheonXie-MSFT commented

Hi RaytheonXie,

Still not resolved because in my Azure AD there is no “Run user Flow” button to create the user flow endpoint because flutter need that user flow to able access the aad. Im stuck


Thank Sam

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AmatSamMuriIsmail-4793 avatar image
0 Votes"
AmatSamMuriIsmail-4793 answered RaytheonXie-MSFT commented

Hi RaytheonXie,

Currently when create user flow no more “B2C_1_XXXXXX” but B2X_1_XXXXX AND When create it no run user flow button. I dont know why or my version of AAD need any subscription

Thank sam

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AmatSamMuriIsmail-4793,
Could you provide us more information about the Azure AD without "Run user Flow" ?

0 Votes 0 ·

120772-photo-2021-08-05-164743.jpeg120801-photo-2021-08-05-164737.jpeg




Dear RaytheonXie-MSFT,


please refer the image above as i cannot see any Run User Flow button at the created user flow


thanks Sam

0 Votes 0 ·

Hi @AmatSamMuriIsmail-4793,
Since your title is about mobile apps,but the following question is out of scope.We suggest you to post your question in our documentation with tag "azure-ad-b2c".


0 Votes 0 ·
AmatSamMuriIsmail-4793 avatar image
0 Votes"
AmatSamMuriIsmail-4793 answered RaytheonXie-MSFT commented

Yes it about the mobile app connect to aad but the mobile connect via user flow but there is no run user flow

Thanks

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AmatSamMuriIsmail-4793,
Since we have no acess to Azure AD ,we are unable to test connect user flow.So we suggest to repost the question as tag "azure-ad-b2c" in our documentation..
https://docs.microsoft.com/en-us/answers/topics/azure-ad-b2c.html

0 Votes 0 ·