Difference between revisions of "Orgsearch"

From SmartWiki
Jump to: navigation, search
(Created page with 'Orgsearch is a system page where users can lookup organizations in multiple databases such as IRS, CRA, OFAC, or UK Charities. Up to now, implementation practice is to give users…')
 
Line 2: Line 2:
  
 
Since occasionally there is a need for making modifications to this system page, parameters can be passed in the link on the opener page.
 
Since occasionally there is a need for making modifications to this system page, parameters can be passed in the link on the opener page.
  asdsad
+
To do that, you will need a script which is called onclick on a button.
* Default and/or limit the option on the database type drop down.
+
  <script>
 +
function opencra(){
 +
alert('Search your organization CRA number or name on the page that will open, then find and click on your organization name.');
 +
window.open('/Apps/Bridge/os_orgsearch.jsp?&database=50&namefield=cname&ctlid=cf_1335588&addressfield=address&cityfield=city&statefield=state&zipfield=postalcode&closeonclick=1&typeallow=,50,&rootcid=430452 &instructiondivid=instructiondivid' ,'srh_win', 'menubar=no,scrollbars=yes,status=no,resizable=yes,top=10,left=10,dependent=yes,alwaysRaised=yes')
 +
}
 +
 
 +
</script>
 +
 
 +
 
 +
 
 +
 
 +
'''Default and/or limit the option on the database type drop down'''
 +
 +
 
 
* Put instructions on the page
 
* Put instructions on the page
 
*
 
*

Revision as of 15:17, 17 January 2013

Orgsearch is a system page where users can lookup organizations in multiple databases such as IRS, CRA, OFAC, or UK Charities. Up to now, implementation practice is to give users a button on the registration page that will open this page on a different window. The reason for that is there's a built-in function on orgsearch page which lets users to click oln the organization name and it will pass information to the opener page (where you launched the new window).

Since occasionally there is a need for making modifications to this system page, parameters can be passed in the link on the opener page. To do that, you will need a script which is called onclick on a button.

<script>

function opencra(){ alert('Search your organization CRA number or name on the page that will open, then find and click on your organization name.'); window.open('/Apps/Bridge/os_orgsearch.jsp?&database=50&namefield=cname&ctlid=cf_1335588&addressfield=address&cityfield=city&statefield=state&zipfield=postalcode&closeonclick=1&typeallow=,50,&rootcid=430452 &instructiondivid=instructiondivid' ,'srh_win', 'menubar=no,scrollbars=yes,status=no,resizable=yes,top=10,left=10,dependent=yes,alwaysRaised=yes') }

</script>



Default and/or limit the option on the database type drop down


  • Put instructions on the page