You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
In my Plomino DB I have a selection list populated from another Plomino db (dbname)
My code for the selection list field is:
ID = plominoDocument.restrictedTraverse("/sitename/dbname/")
view = ID.getView('MyView')
return [d.MyField1 + ' ' + 'for' + ' ' + d.MyField2 for d in view.getAllDocuments()]
So I select one value and save.
Now in a view I need to show a column deriving from one more field ([d.MyField3 for d in view.getAllDocuments()]); obviously this field must be related to the document containing MyField1 and MyField2.
Could you all suggest me an approach?
The text was updated successfully, but these errors were encountered:
ermancio
changed the title
Dependent selection lists
Selection list and db traverse
May 26, 2017
Hi,
In my Plomino DB I have a selection list populated from another Plomino db (dbname)
My code for the selection list field is:
ID = plominoDocument.restrictedTraverse("/sitename/dbname/")
view = ID.getView('MyView')
return [d.MyField1 + ' ' + 'for' + ' ' + d.MyField2 for d in view.getAllDocuments()]
So I select one value and save.
Now in a view I need to show a column deriving from one more field ([d.MyField3 for d in view.getAllDocuments()]); obviously this field must be related to the document containing MyField1 and MyField2.
Could you all suggest me an approach?
The text was updated successfully, but these errors were encountered: