Home Forums Development Are v9 pickers with 2 level association paths supported?

Viewing 3 reply threads
  • Author
    Posts
    • #16057
      JohnJohn
      Participant

      I’m trying to use a picker for mda:DocumentMgrItem on a form of class BatchActionCommandAttachment. The association between these two classes is values=”attachment act”. This two-level path passes validation but when saving, the server receives null for ‘attachment’.

      Is there a trick to make this work?

      Here’s the form

       

      0
    • #16070

      Hi John,

      In the mean time we get someone to respond to the technical question.

      Have you investigated how the Activity Plan – attachment picker is implemented? That control allows you to pick items from Document Manager. Is it similar implementation ?

      Regards,

      Dhruv

      0
    • #16111
      JohnJohn
      Participant

      Dhruv, as mentioned on slack too, the difference between that picker and this one is the 2-level path I think.  I’ve had some success using a custom non-persisted attribute and a custom create method on BatchActionCommandAttachment but run into another issue, so any details on whether this is the right path would be appreciated.

      0
    • #16138
      JohnJohn
      Participant

      Creating a non-persisted attribute for the picker to store the value to worked. Then I customized the before create of BatchAttachmentCommandAttachment to retrieve the attachmentLink from the DocumentMgrItem

      0
Viewing 3 reply threads
  • You must be logged in to reply to this topic.