system user guide displaying information displaying … · you can embed your notice list directly...

5
System User Guide Displaying Information © copyright Millstream Associates - 1 - Displaying Your Buyers Profile You can provide your suppliers or internal users with details of your Buyers Profile as it is displayed on the web site. In order to use this facility you will need to know the ID allocated to your organisation when using the web site. The ID allocated to your organisation can be found on your home page and will be in the format AAxxxxx, i.e. AA00500. Simple HTML Link You can use a simple link to direct users to your buyers profile on the web site by publishing the following link on your own web site: <a href=”http://[website base URL]/search/Search_AuthProfile.aspx?ID=AAxxxxx”>Our Buyers Profile</a> Where [website base URL] is replaced with the base URL of the source website and AAxxxxx is replaced by your own authority ID. NOTE: It is recommended, due to accessibility issues with the ‘iframe’, to include a direct link to the buyers profile on the sources website as well if one wishes to use the ‘iframe’. Using an ‘iframe’ to display your Buyers Profile on your own site You can embed the Buyers Profile directly into one of your own pages using the <IFRAME> HTML tag: <iframe src=”http:// [website base URL]/ShowProfile.aspx?ID=AAxxxxx” frameborder="0" width="600" height="600"></iframe> Or (XHTML Strict) <object data="http:// [website base URL]/ShowProfile.aspx?ID=AAxxxxx" type="text/html" standby="Buyers Profile" width="600" height="600"></object> Note: There is a known problem with versions 6 and 7 of Internet Explorer displaying external content in an <object> element. At the default security setting for the Internet Zone, content from another site will not be shown in the <object> element. Firefox, Opera and other browsers are not affected. The simple work-around is to use the <iframe> element, instead, but this has the problem of being a deprecated tag which will not validate if a "strict" doctype is used. Another work-around is to use IE conditional comments, displaying an <iframe> if in IE, otherwise displaying an <object>. This ensures that IE users with higher security settings will still see the desired off-site content, while keeping the document strictly valid (as the content within the IE conditional comment is ignored by other browsers). NOTE: In all of the following examples, please replace ”www.PublicContractsScotland.gov.uk” with the relevant website base URL for the website that you will be referring to. Here's a sample using this technique: <!--[if IE]> <iframe src=”http://www.PublicContractsScotland.gov.uk/ShowProfile.aspx?ID=AAxxxxx” frameborder="0" width="600" height="600"></iframe> <![endif]--><!--> <!--[if !IE]> <object data="http://www.PublicContractsScotland.gov.uk/ShowProfile.aspx?ID=AAxxxxx" type="text/html" standby="Buyers Profile" width="600" height="600"></object> <!--<![endif]-->

Upload: dinhdan

Post on 12-Oct-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: System User Guide Displaying Information Displaying … · You can embed your notice list directly into one of your own web pages using the  HTML tag:

System User Guide Displaying Information

© copyright Millstream Associates - 1 -

Displaying Your Buyers Profile

You can provide your suppliers or internal users with details of your Buyers Profile as it is displayed on the web site.

In order to use this facility you will need to know the ID allocated to your organisation when using the web site. The ID allocated to your organisation can be found on your home page and will be in the format AAxxxxx, i.e. AA00500.

Simple HTML Link You can use a simple link to direct users to your buyers profile on the web site by publishing the following link on your own web site:

<a href=”http://[website base URL]/search/Search_AuthProfile.aspx?ID=AAxxxxx”>Our Buyers Profile</a>

Where [website base URL] is replaced with the base URL of the source website and AAxxxxx is replaced by your own authority ID.

NOTE: It is recommended, due to accessibility issues with the ‘iframe’, to include a direct link to the buyers profile on the sources website as well if one wishes to use the ‘iframe’.

Using an ‘iframe’ to display your Buyers Profile on your own site You can embed the Buyers Profile directly into one of your own pages using the <IFRAME> HTML tag:

<iframe src=”http:// [website base URL]/ShowProfile.aspx?ID=AAxxxxx” frameborder="0" width="600" height="600"></iframe> Or (XHTML Strict)

<object data="http:// [website base URL]/ShowProfile.aspx?ID=AAxxxxx" type="text/html" standby="Buyers Profile" width="600" height="600"></object>

Note: There is a known problem with versions 6 and 7 of Internet Explorer displaying external content in an <object> element. At the default security setting for the Internet Zone, content from another site will not be shown in the <object> element. Firefox, Opera and other browsers are not affected. The simple work-around is to use the <iframe> element, instead, but this has the problem of being a deprecated tag which will not validate if a "strict" doctype is used.

Another work-around is to use IE conditional comments, displaying an <iframe> if in IE, otherwise displaying an <object>. This ensures that IE users with higher security settings will still see the desired off-site content, while keeping the document strictly valid (as the content within the IE conditional comment is ignored by other browsers).

NOTE: In all of the following examples, please replace ”www.PublicContractsScotland.gov.uk” with the relevant website base URL for the website that you will be referring to.

Here's a sample using this technique:

<!--[if IE]>

<iframe src=”http://www.PublicContractsScotland.gov.uk/ShowProfile.aspx?ID=AAxxxxx”

frameborder="0" width="600" height="600"></iframe>

<![endif]--><!-->

<!--[if !IE]>

<object data="http://www.PublicContractsScotland.gov.uk/ShowProfile.aspx?ID=AAxxxxx"

type="text/html" standby="Buyers Profile" width="600" height="600"></object>

<!--<![endif]-->

Page 2: System User Guide Displaying Information Displaying … · You can embed your notice list directly into one of your own web pages using the  HTML tag:

System User Guide Displaying Information

© copyright Millstream Associates - 2 -

Using HTML <frameset> to display your Buyers Profile on your own site If your site uses ‘frames’ to display information you can fill the content of a frame with your Buyers Profile. For example the following code:

<FRAMESET cols="20%, 80%">

<FRAMESET rows="100, 200">

<FRAME src="contents_of_frame1.html">

<FRAME src="contents_of_frame2.gif">

</FRAMESET>

<FRAME src="http://www.PublicContractsScotland.gov.uk/ShowProfile.aspx?ID=AAxxxxx">

<NOFRAMES>

<P>This frameset document contains:

</NOFRAMES>

</FRAMESET>

might create a frame layout something like this:

---------------------------------------

| | |

| | |

| Frame 1 | |

| | Buyers Profile |

| | will be |

|---------| displayed |

| | here |

| | |

| Frame 2 | |

| | |

| | |

---------------------------------------

Optional Parameters You can modify the appearance of the Buyers Profile displayed on your site by adding additional parameters to the URLs shown above. The parameter format is:

ShowProfile.aspx?ID=AAxxxxx&bground=yyyyyy&tabno=w&style=z&NewPage=bbbbb

Where ID=AAxxxxx (Required) AAxxxxx is replaced by your authority ID which can be found on your home page of the web site.

bground=#yyyyyy (Optional) The yyyyyy is replaced by the hex value of the colour you wish to use for the background of the information panels. If the parameter is not supplied a default value of #c6c6c6 (grey) will be used.

NewPage=bbbbb (optional) Replacing bbbbb with True will cause the full notice details to be displayed in a separate browser window. (If the parameter is not supplied a default value of False will be used).

Page 3: System User Guide Displaying Information Displaying … · You can embed your notice list directly into one of your own web pages using the  HTML tag:

System User Guide Displaying Information

© copyright Millstream Associates - 3 -

Tabno=w (Optional) The w is replaced by a number between 0 and 7 and represents the tab you wish to have selected when the profile is first displayed. (if the parameter is not supplied a default value of 0 (zero) will be used). The tabs are:

0 Organisation details 1 Description 2 Contact Details 3 Purchase Plans 4 Future Tenders 5 Current Tenders 6 Past Tenders 7 Other Info

style=z (Optional) The z is replaced by a number, 0, 6, 7, 8, 9, 10 or 11, and changes the style of the tab strip as follows (if the parameter is not supplied a default value of 0 (zero) will be used):

0

6

7

8

9

10

11

Page 4: System User Guide Displaying Information Displaying … · You can embed your notice list directly into one of your own web pages using the  HTML tag:

System User Guide Displaying Information

© copyright Millstream Associates - 4 -

Displaying a list of notices If you do not wish to display the full buyers profile you can display a simple list of the notices you have published on the web site. A list of your published notices can be displayed on your site and when a user clicks on title of a notice they will be redirected to the web site where full details of the notice can be obtained.

Simple HTML Link You can use a simple link to direct users to your list of notices on the web site by publishing the following link on your own web site:

<a href=”http:// [website base URL]/Search/auth_noticeList.aspx?ID=AAxxxxx”>Our published notices</a>

Where [website base URL] is replaced with the base URL of the source website and AAxxxxx is replaced by your own authority ID.

Using an ‘iframe’ to display your list of notices on your own site You can embed your notice list directly into one of your own web pages using the <IFRAME> HTML tag:

<iframe src=”http:// [website base URL] /Search/auth_noticeList.aspx?ID=AAxxxxx ” frameborder="0" width="600" height="600"></iframe>

Using HTML <frameset> to display your notice list on your own site If your site uses ‘frames’ to display information you can fill the content of a frame with your notice list. For example the following code:

<FRAMESET cols="20%, 80%">

<FRAMESET rows="100, 200">

<FRAME src="contents_of_frame1.html">

<FRAME src="contents_of_frame2.gif">

</FRAMESET>

<FRAME src="http://www.PublicContractsScotland.gov.uk/Search/auth_noticeList.aspx?ID=AAxxxxx "> <NOFRAMES>

<P>This frameset document contains:

</NOFRAMES>

</FRAMESET>

might create a frame layout something like this:

---------------------------------------

| | |

| | |

| Frame 1 | |

| | Notice List |

| | will be |

|---------| displayed |

| | here |

| | |

| Frame 2 | |

| | |

| | |

---------------------------------------

Page 5: System User Guide Displaying Information Displaying … · You can embed your notice list directly into one of your own web pages using the  HTML tag:

System User Guide Displaying Information

© copyright Millstream Associates - 5 -

Optional Parameters You can modify the appearance of the notice list displayed on your site by adding additional parameters to the URLs shown above. The parameter format is:

Auth_NoticeList.aspx?ID=AAxxxxx&DocType=y&ShowBranding=bbbbb&NewPage=bbbbb&NoticeType=zzzz

Where

ID=AAxxxxx (Required) AAxxxxx is replaced by your authority ID which can be found on your home page of the web site.

DocType=y (optional) The y is replaced by the one of the values shown below to restrict the list to a particular type of notice (if the parameter is not supplied all notice types will be shown):

Tenders: y = 1

Contract Awards: y = 2

PIN Notices: y = 3.

ShowBranding=bbbbb (optional) To remove the web site ‘branding’ (i.e. the banner, menus etc) bbbbb should be replaced by False (If the parameter is not supplied a default value of True will be used).

NewPage=bbbbb (optional) Replacing bbbbb with True will cause the full notice details to be displayed in a separate browser window. (If the parameter is not supplied a default value of False will be used).

NoticeType=zzzz (optional) If you wish to display only live notices zzzz should be set to Live, to display your expired notices zzzz should be set to Expired. (If the parameter is not supplied both live and expired notices will be displayed).