May 14, 201510 yr 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! Edited May 14, 201510 yr by Karlos Fandango
May 14, 201510 yr 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 May 14, 201510 yr by comment
May 15, 201510 yr Author (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.
May 15, 201510 yr Good. As an aside: hard-coding staff names into your solution will bite you when staff changes.
May 15, 201510 yr Author 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! Once again thanks for the nudge, it is appreciated.
Create an account or sign in to comment