Mobile client action GetNewGuid()
1565
Views
13
Comments
On our RadarOn our Radar
Builtin & User functions

OutSystems provides a server action to generate a new Guid().

However when building an mobile app it cannot be use it when running the app offline.

Therefor a client action GetNewGuid() would be a nice addition, and way to stream line available functionallity on client and server.


Changed the category to
Builtin & User functions
Changed the status to
On our RadarOn our radar

Hi Daniël,

First of all thank for contribute with this idea!

Can you describe what are the application use cases where do you use or will use this GUID function?Are these GUID just for client side processing and storage or to pass to the server and store them like they were generated?

Cheers

Hi Tiago,

Mobile App, Offline first.

User is allowed to create new records in local entity that needs to be synchronized to server.

Client requirement to generate GUID for new records. 

The current function is a server action.

We solved it with using a javascript lib we included, but would be nice to have more build in server actions to have a client action counterpart (like for list the are all simular).

Regards,

Daniel

Merged this idea with 'GUID Generator for Mobile' (created on 17 Jan 2019 10:53:57 by Mariano Picco)

This action is already part of the system server actions for web (and mobile, if you're online), but we need a similar and usable Cient action for mobile.


Of course there are some 3rd party forge components which add this, and we could even try to do it through Javascript, but it should be an OutSystems developed part of the platform compliant with RFC 4122.

Hi Mariano,

If you want this to work client side, the implementation, even when done by OutSystems, will be javascript. Client actions translate into javascript using reactjs framework.


I already have this planned to be added Guid generation to the https://www.outsystems.com/forge/component-overview/5085/rapid-strings forge component.

I have this functionallity already working, just need to move it into the component and publish it.

Hopefully find time to do it next week.

Regards,

Daniel

Hi Mariano,

If you want this to work client side, the implementation, even when done by OutSystems, will be javascript. Client actions translate into javascript using reactjs framework.


I already have this planned to be added Guid generation to the https://www.outsystems.com/forge/component-overview/5085/rapid-strings forge component.

I have this functionallity already working, just need to move it into the component and publish it.

Hopefully find time to do it next week.

Regards,

Daniel

Changed the category to
Silk

Hi Daniel,


did you have time to publish your solution?

I'm looking for the same functionality as Mariano, but I can't seem to find it in the component linked above.

Hi Dieter,

Totally forgot about it due to busy work and social schedule.

I'll start on it right away, ain't that much work.

I will post again when it is available.

Regards,

Daniel


Hi Dieter,

I've uploaded a new version of the module in the forge with a new Client Action Guid().

https://www.outsystems.com/forums/discussion/44308/web-version-of-the-component/

Regards,

Daniel

Hi Daniel,

thanks for the update and the component.


Regards, 

Dieter

Nice work Daniel. Hope it gets permanently implemented onto a next version of the platform, still!