Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3479 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I have a layout with a tab control within it, the "Default Front Tab" is "To do List".

Within the "To Do List" tab I have another 'Tab Control' with the following tabs... 

• Markus
• Karl
• Scot
• Secretary

These tabs are also so named as objects. Additionally these names are also the user names.

• Markus       [User Name, Tab Name and Object Name]
• Karl            [User Name, Tab Name and Object Name]
• Scot           [User Name, Tab Name and Object Name]
• Secretary   [User Name, Tab Name and Object Name]

I set an 'On Object Enter' script trigger on the "To Do List" Tab as follows...

Go to Object [Object Name: Get ( UserName )]  

- I also tried...

Go to Object [Object Name: "Get ( UserName )"]  

I was hoping that when a user clicked onto the "To Do List Tab" it would then navigate to the tab named after a user in the tab control within the tab named "To Do List", but is doesn't work... any ideas, thanks.

I tried to embed an images but all I get is a swirling icon, maybe it is something to do with Google drive I don't know... so I attached it instead... OK... I see, embedding is attaching!

Z.png

Edited by Karlos Fandango
Posted (edited)

The image is not very helpful. It would be more helpful if you tried:

Go to Object [ Object Name: "Karl" ]
Show Custom Dialog [ Get ( UserName ) ]

The first step tests that the script is triggered and the object is selected by its name. The second tests if the username returns what you think it does (my guess is that you're confusing UserName with AccountName).

Edited by comment
Posted

(my guess is that you're confusing UserName with AccountName).

​Spot-on 'Comment'... I was using 'userName' when I should have been using 'AccountName' and now it works, goes straight to the tab of the person logged-in to the solution.

Thanks, appreciated.

Posted

Good. As an aside: hard-coding staff names into your solution will bite you when staff changes.

I get that, there might well have to be a long line of Marks, Karls and Scots using this solution! in the future! :o

Once again thanks for the nudge, it is appreciated.

This topic is 3479 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.