Can we display the values of an object field?

20 views
Skip to first unread message

Edu Reyes Jr

unread,
Oct 20, 2021, 12:41:35 PM10/20/21
to Lightning - 4D Web Applications
Hi!

We have an object field in a table ([Person]). We want to display the values of this object field. We see that this object is available in oConnection.data.Person so in the html, I wrote the html like this: 

personObject.png

but it's not displaying the value (text)

Is it written like this or can we do it like this?

Thanks.

Graham Langley

unread,
Oct 21, 2021, 7:08:55 AM10/21/21
to Lightning - 4D Web Applications
Could you change the object to single dot notation, e.g.: Person.active ?

Edu Reyes Jr

unread,
Oct 21, 2021, 7:27:44 AM10/21/21
to Lightning - 4D Web Applications
It's an object field, we put all other information inside this object:

personObject val.png

So we were just wondering if there is a way to address this object directly and display it to the web.  {{Person.personObject.active}} in the HTML does not work.




Graham Langley

unread,
Oct 22, 2021, 6:50:29 AM10/22/21
to Lightning - 4D Web Applications

OK, understood. Current version does not support two or more notations dots, leave it with me for a few days and I will provide an update

Edu Reyes Jr

unread,
Oct 22, 2021, 6:54:31 AM10/22/21
to lightning-...@googlegroups.com
Oh I see, well, thank you in advance.
Meanwhile, I just put the object values in oConnection.data.<someproperty> and use in the HTML as {{.someproperty}}

Thanks,
- Edu

--
You received this message because you are subscribed to a topic in the Google Groups "Lightning - 4D Web Applications" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lightning-4d-web-apps/fmW5Kyvo0Nc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lightning-4d-web...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lightning-4d-web-apps/73c9189b-3b42-40b2-859a-c49c4a981d3bn%40googlegroups.com.

Graham Langley

unread,
Oct 22, 2021, 7:23:09 AM10/22/21
to Lightning - 4D Web Applications
Good workaround, give me a few days for the ultimate fix
Reply all
Reply to author
Forward
0 new messages