Is this a popover button?
Have you put a portal to "related" inside the popover panel?
And is the popover button located inside the row of the portal to "portal" on your layout based on "main"?
If so, that's a "no go" as it is another form of putting a portal inside a portal and FileMaker does not support this.
If that's the cause of your trouble, you can move the popover out of the portal, but use a button in the portal row that performs a script to open the popover and "synch" the "detail" portal in it to reflect the portal row in the "master" portal where you first clicked a button to open the popover.
But I'm making a great many guesses about what you actually are attempting to do...
No i set the Button of the portal row on Show Custom Dialog in which i choosed the related field.
Its just for testing pupose to see whats related.
But i guess i found the problem but not sure 100%
Its not thats its not showing any data, it was allways sowhing the same.
So the data are actually URLs and all work but one shema not.
Its just related, how should I escpae it... But its definitely only in some URLs, sone work others wont.
The URLS in this schema are all the same exept:
Is this a problem of the wrong data appearing or that you can't click it to open a web page in either your browser or FileMaker's web viewer?
If the wrong data appears in the field, you'll need to provide a much more detailed description of your layout design plus a more complete description of the tables and relationships on which your layout, portal and custom dialog are based.
Yes, its a problem of showing wrong data. I have about 100 antries with URLs of that sheme and on both table only 2 are the same but they show up in all other portal rows too. And that only hapends with those URLs all other are fine so far i8 can test.
Is this maybe a index problem? How could i redindex?
I cannot provide any assistance with this without a better understanding of how you have set up your tables, relationships and layout.
I suggest that you start by uploading a screen shot (no PDF!) of the relevant portion of Manage | Database | Relationships that shows your three tables linked in relationships. Make sure that you identify which is "main", which is "portal" and which is "related".
I was able to solve this by adding another relationship that solving this problem.