What should I do if I click on a portal record, it opens in the current layout. I created a script "go to related record, but it does not work.
Not sure how other languages are handled here, but this translates to:
"What should I do if I click on a portal record, it opens in the current layout. I created a script "go to related record, but it does not work."
Go to Related Record should work. Right below where you specify the relationship,you can choose a layout where you wanted the related records to display. If this doesn't help, send a screen shot of your Go to Related Record step.
Do i need to make a relationship also?
Use the same relationship in the Go to Related Record step as you have in the portal.
The portal name is "Dienst 113", the same as the records
Looks like in your script you didn't select a layout, or selected 'Current layout' (<Huidige lay-out>)
I have selected a layout. But do i need to make a relation in the database also or just with a script?
Go To Related Records will not work unless there is a valid relationship linking the current record on the layout to one or more records in the related table. Not only must a relationship be set up in Manage Database, but the matching records must exist.
But if your GTRR step specifies the same table occurrence as that of your portal and there are records in the portal, both of those requirements have been met.
Retrieving data ...