Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Answered

List Entity A (Questions) - Form Entity B (Answer)

(0) ShareShare
ReportReport
Posted on by 14

Hi, 

 

I have 2 tables: Questions and Answers. The table Questions is displayed in a list component and within the list I have an answer button with a form link to the Answer question. The problem is when I have multiple answer I get this error:

ErrorMsg.jpg

Here is the Question List which contains multiple questions and the answer button: List Question.jpg

Here is the Answer Form linked to the Answer Entity: 

AnswerForm1.jpg

Table Answer with lookup column to Questions. 

table.jpg

For now, when I answer a questions, the answer is link to every questions so when I have 2 answers I cannot edit the answer of the question 1.

 

Could you help me out ? 

 

Thanks in advance!

 

Categories:
  • Verified answer
    Christian Leverenz Profile Picture
    1,214 on at
    Re: List Entity A (Questions) - Form Entity B (Answer)

    Hi @Baki08 ,

    hopefully, i got it right:

    when you have multiple answers to one question, there should be many navigations to each and every answer. As far as i know, this is not supported in portals right now.

    So, when you want to edit answers, you would have to have a list of answers to choose from. So the navigation of the link should go to a page listing all answers and edit there a specific one.

     

    Another approach could be, to modify the html in the button. As those are more or less urls with paramaters you could modify the nivigation by scripting. I never tried that approach but may be this is an elegant solution for your request.

     

    The third option i could imagine is to render the answer/questionpage completely with custom liquid. Then you are completely free to design it as you like.

     

    Hopefully, at least one sentence does not sound complete weired 🙂

     

    Have fun,

      Christian

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >