[Data Grid] DataGrid API Authentication and Architecture best practice

Forge Component
(38)
Published on 3 Aug (10 days ago) by OutSystems R&D
38 votes
Published on 3 Aug (10 days ago) by OutSystems R&D

Hi All,


Apologies that I am posting on a topic that is 10 months old but need your help.

I am struggling to understand the Custom authentication work around. If anyone has an oml or screenshot that they can share, I will be most grateful. See previous topic posts on this

I suspect my difficulty is compounded by how i shoudl consume the DataGrid Rest API from one module to another. What do you deem as best practice?

a) Consume just like you would any other Outsystems reusable component

b) Consume as a Rest API i.e. just like you would consume any other End-Point


I appreciate any assistance you can give to me on this.

Sam

Processing Upload...

Hi Sam,

Here you go I have attached the OML. find it in Datagrid screen 

Regards,

Mounika

For authentication in the DataGrid you can also use "GetUserLogged" Action from "DataGridAuthentication". This will give you the UserId from the browser session, which you can use for your further authorisation checks.


Best regards,

Brian

Mounika Bora wrote:

Hi Sam,

Here you go I have attached the OML. find it in Datagrid screen 

Regards,

Mounika

Hi Mounika, thanks for replying. Unable to access the OML as it is still showing as "Uploading" which is odd.