I have a selection-list field in 'form2' wich I want to fill with data from a datagrid field of 'form1'.
This is an example of a datagrid value and I need only the data in the position of each row (a0, b0, c0):
[, , ]
Can you help me with my selection-list formula? Until now I have this:
db = plominoDocument.getParentDatabase()
view = db.getView("allForm1")
####Here is where I am stucked:
####valueslist = [****** in view.getDocumentsByKey('id')]
return valueslist
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
db = plominoDocument.getParentDatabase()
view = db.getView("allForm1")
doc = view.getDocumentsByKey('id')
datagrid_rows = doc.getItem('the_datagrid', )
result = [row for row in datagrid_rows]
return result
NOTE: we are about to close this SF forum, please use GitHub issues service to post questions:
- go here: https://github.com/plomino/Plomino/issues
- register
- post your questions.
Thank you
Eric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a selection-list field in 'form2' wich I want to fill with data from a datagrid field of 'form1'.
This is an example of a datagrid value and I need only the data in the position of each row (a0, b0, c0):
[, , ]
Can you help me with my selection-list formula? Until now I have this:
Thanks.
db = plominoDocument.getParentDatabase()
view = db.getView("allForm1")
doc = view.getDocumentsByKey('id')
datagrid_rows = doc.getItem('the_datagrid', )
result = [row for row in datagrid_rows]
return result
NOTE: we are about to close this SF forum, please use GitHub issues service to post questions:
- go here: https://github.com/plomino/Plomino/issues
- register
- post your questions.
Thank you
Eric