The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
View Source of window with no Right Click
Posted: 29 Jan 07 8:14 AM
|
fiogf49gjkf0d I am trying to put a screen in to assign a contact role when adding a contact to the opp-contact grid in the web client (v7). I sucessfully did this when associating an opp to a contact in the contact-opp grid. But I can't for the life of me tell where the app is going after the contact is chosen. When the '+' button is clicked from the opp contact tab this is what is called (top.main_content.query.querydata.doAddCon() . I cannot locate what this is doing. It looks like it is pulling up the same screen that is used to search for contact ( searchcondgrp ) but I cannot verify this. Then I need to find out what that calls next to add the contact to the opportunity.
When this search screen comes up it is a popup, so no right click or IE menu options are available. I was wondering if there is a way to view the source of a window like this?
Thanks Steve K. |
|
|
|
Re: View Source of window with no Right Click
Posted: 29 Jan 07 3:35 PM
|
fiogf49gjkf0d Got it. Used javascript. Here it is if interested:
In the webpage section add this javascript:
<script language="javascript"> function viewSource() { d=window.open(); d.document.open('text/plain').write(document.documentElement.outerHTML); } </script>
Then, anyplace in your add the following HTML
<input type=button value="View Source" onclick="viewSource()">
Simple but effective. Steve K. |
|
|
|
Re: View Source of window with no Right Click
Posted: 30 Jan 07 9:37 AM
|
fiogf49gjkf0d I'm going to try that solution. I've had the same issue when viewing modal windows, especially in activities. I've had to put in alerts to see values and trace code. Thanks.
UPDATE:
Very easy solution to put into any modal template. THANKS!! |
|
|
| |
|