Shared Text Accces via API

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

Shared Text Accces via API

#1

Postby Segi » Mon Mar 03, 2014 7:06 pm

Is there a way to get the value of a shared text via JavaScript ?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue Mar 04, 2014 8:22 am

No, not at the moment. We need to add a general texts API.
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#3

Postby Segi » Tue Mar 04, 2014 4:03 pm

Actually,

I found a roundabout way to do this:

I have a function that does something like this:

function getEBASEDomain() {
return system.executeCustomFunction("gettext", ['EBASEDOMAIN', 'Shared','EN']);
}

gettext is the FPL function to get the value of a shared text and EBASEDOMAIN is the ID of my shared text
0 x


Who is online

Users browsing this forum: No registered users and 2 guests