Bring data from Embedded List to Client Script

Srinivas Balusu
Kilo Guru

Hi,

Is there a way to bring the data from embedded list to Client script for data validations?

16 REPLIES 16

tanumoy
Tera Guru

You can query that particular m2m table from client script to get the data from that embedded list.


Andras Kisgyorg
Kilo Guru

HI Srini,



Can you please specify your requirement further?


based on what I understand you have a form, with an embedded list in it, and when people "insert new row" you want to validate their inputs in some of its fields?


What validations would they be? e.g. mandatory, date validation, etc.



As there might be more efficient validation alternatives.



Best regards,


Andras


Thanks for you response andraskisgyorgy. Yes you understanding of my requirement is correct. And in my client script I wanted to use some date validations.


All I am looking for is how to call that data from embedded list into the client script.



Requirement: Validate data in embedded list, If validation becomes true, I want to insert records in both parent and child tables. if validation fails, Ignore inserting records into both the tables.


Any luck with this? I'm trying to get the data from an embedded list too