Hoppa till huvudinnehållet

Display multiple images from a 1 to many relationship

Kommentarer

2 kommentarer

  • Permanently deleted user
    Hi Ryan, 

     

    You can display a one-to-one relationship in the map tip with no problems, but it becomes more difficult with a one-to-many relationship. The most you can do in the feature description is set it up to display one of the many pictures you have attached to the feature, but it would always only display one picture.

     

    I would suggest running a workflow instead to display your attachments. You can create a workflow that runs from the maptip and when clicked, it displays all the attachments in a display form. The Attachment Manager workflow (https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_DETAIL&criteria=BESTANSWERS&id=kA4600000004EWZCA2)  would also work for showing multiple attachments for a feature.

     

    I hope this helps.

     

    Carmen
    0
  • Malcolm Walker
    • Community-Manager
    Hi Carmen

     

    Thanks for your answer.

     

    I guess you are right about the workflow being the last resort. To me, the problem highlighted here is in the way the dataset was built, meaning that it wasn't necessarily set for the purpose we're discussing here. I thought about going through and adding ids fields for the picture to each record, where it applies, but this is obviously a time consuming task...

     

    I'll take the advice and try the workflow and will feed back about the results.

     

    Kind regards

     

    Ryan
    0

Du måste logga in om du vill lämna en kommentar.