Jump to content
Sign in to follow this  
Alisun

Creating a New Window

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Awesome!!!

I got it to work!!

Thank you so much, Mr. Vodka!

Alisun

:thankyou:

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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