Alisun Posted May 15, 2007 Posted May 15, 2007 Hello, I have a team of people working on a project, and would like to have everyone's names listed on one layout, with a button next to each name called "Click for Hours". This would open a new window which would show their hours. I am not sure how to create a new pop-up window for each person. Any help would be appreciated! Alison
mr_vodka Posted May 15, 2007 Posted May 15, 2007 You can have the related team of people be displayed in a portal. Then you could have a button that calls the Go to Related Record script step. There is an option for Show in new window and Show only related records. Check them.
Alisun Posted May 16, 2007 Author Posted May 16, 2007 I just created the portal. I also placed a button called "Click for Hours" next to each name. I am new to buttons and scripts, though. How do I connect the button to a script? Alisun
mr_vodka Posted May 16, 2007 Posted May 16, 2007 After you create a button on the layout, a popup will display. To attach a specific script to a button you need to select (under Control) Perform Script and then specify the script that you want to call.
Alisun Posted May 16, 2007 Author Posted May 16, 2007 I was able to create a script for the button, but when I click on the button I get the message, "This operation could not be completed because this layout cannot display the result." I think I may be missing a step, either in the script or the layout. So, I attached an example of my file. Any advice? Alisun Hours_Log_Sample.zip
mr_vodka Posted May 16, 2007 Posted May 16, 2007 First you need to change your script so that it could use the 'Team Members' Layout isntead of "current". Second you need to put the button on the portal row so that it could get the related record.
Alisun Posted May 16, 2007 Author Posted May 16, 2007 Awesome!!! I got it to work!! Thank you so much, Mr. Vodka! Alisun :thankyou:
Recommended Posts
This topic is 6401 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 accountSign in
Already have an account? Sign in here.
Sign In Now