3D ProductPage Web Site Access

These instructions explain how to direct customers from your existing company web site to your new 3D ProductPage web site.

To direct customers to your 3D ProductPage web site:

  1. Copy the HTML code from below and paste it into a new text file called QSLinkUp.htm.

  2. Place the QSLinkUp.htm file where it can be accessed by your existing company web site.

  3. Read the comments within the HTML code and follow the instructions highlighted by the ToDo: statements.

  4. On your existing company web site, provide a link to this QSLinkUp.htm page.

Comments

<!-- HTML code begins here -->

<html>

<head>

<Script language="javascript">

<!-- Note: the javascript functions shown below can also be -->

<!-- placed into a separate .js file, and then included into -->

<!-- your html page using the '#include' command. This -->

<!-- is recommended for security reasons because it hides ->

<!-- the user name and password from web site visitors. -->

<!-- Use the gotoQS() function below to access your entire -->

<!-- ProductPage web site. This includes display of any header, navigation, -->

<!-- layouts, and content chosen in the ProductPage Wizard/Administrator. -->

Sample Code

function gotoQS()

{

Comments

<!-- ToDo: locate the userName and pwd variables below. -->

   <!-- Respectively, enter your service user name and -->

   <!-- password between the quotation marks. -->

Sample Code

 window.document.QSForm.userName.value = "";

 window.document.QSForm.pwd.value = "";

 window.document.QSForm.catalog.value = "publish3d";

Comments

   <!-- ToDo: if your existing company web site assigns -->

   <!-- a user id for tracking purposes, then you can use -->

   <!-- the enduser variable below and fill in, or pass in, -->

   <!-- your existing user id. If you do not fill this in, -->

   <!-- then the user will be shown as 'anonymous'. -->

Sample Code

   window.document.QSForm.enduser.value = "";

   window.document.QSForm.action = "http://productpage.3dpublisher.net/3DProductPage/Qsvalidlogin.asp";

   window.document.QSForm.submit();

}

Comments

<!-- Use the gotoQSSingle() function shown below for direct access to -->

<!-- individual models or categories in your ProductPage web site.

<!-- Using the gotoQSSingle() function below brings your visitors directly to the specified -->

<!-- category or model, bypassing any ProductPage header or navigation. -->

<!-- The 'item' argument passed to this function should be the desired category -->

<!-- or model name. The 'isCate' argument should be passed in as true if 'item' is -->

<!-- a category name and false if 'item' is a model name. -->

Sample Code

  function gotoQSSingle(item, isCate)

{

Comments

<!-- ToDo: locate the userName and pwd variables below. -->

  <!-- Enter your service user name and password, -->

  <!-- respectively, between the quotation marks. -->

Sample Code

  window.document.QSForm.userName.value = "";

  window.document.QSForm.pwd.value = "";

  window.document.QSForm.catalog.value = "publish3d";

Comments

<!-- ToDo: If your existing company web site assigns -->

   <!-- a user id for tracking purposes, then you can use -->

   <!-- the enduser variable below and fill in, or pass in, -->

   <!-- your existing user id. If you do not fill this in, -->

   <!-- then the user is shown as 'anonymous'. -->

Sample Code

  window.document.QSForm.enduser.value = "";

  window.document.QSForm.name.value = item;

  window.document.QSForm.isCate.value = isCate;

  window.document.QSForm.action = "http://productpage.3dpublisher.net/3DProductPage/displayAll.asp";

  window.document.QSForm.submit();

}

</Script>

</head>

<body>

<form name="QSForm" method="post">

<input type="hidden" name="userName">

<input type="hidden" name="pwd">

<input type="hidden" name="catalog">

<input type="hidden" name="enduser">

<input type="hidden" name="GUID" value="1044996745874">

Comments

<!-- ToDo: There are several ways to call one of the functions above -->

  <!-- and gain access to your new 3D ProductPage web site. -->

  <!-- At a minimum, replace "YOUR LINK" with the desired wording. -->

  <!-- As an alternative, you can also move the links below to a web page -->

  <!-- on your existing company web site. Or, you can add code to your existing -->

  <!-- web site that calls one of the javascript functions above. If you use -->

  <!-- either of  these two options, then you can save the javascript code above -->

  <!-- to a separate .js file. You can then include this .js file into your webpage -->

  <!-- which is making the function call, by using the HTML "include" command. -->

  <!-- This link brings you to the main page of your 3D ProductPage web site. -->

Sample Code

<a href="javascript:gotoQS()">YOUR LINK</a>

<input type="hidden" name="name">

<input type="hidden" name="isCate">

Comments

<!-- ToDo: Please replace the "itemName" argument below with the desired category -->

<!-- or model name, with the single quote. Also, set "isCate" to false if you are specifying a model name -->

<!-- or set it to true if you are specifying a category name for the "itemName" argument. -->

<!-- The true/false has to be surrounded by single quote. -->

<!-- This link will bring you directly to the specified model or category in your 3D ProductPage web site. -->

Sample Code

<a href="javascript:gotoQSSingle(itemName, isCate)">YOUR LINK</a>

</form>

</body>

</html>

<!-- HTML code ends here -->

 If you have any questions regarding this code or need more information, please contact 3D PartStream Support by sending email to: support@3dpartstream.net

For general information:

Exploring 3D PartStream.NET

3D PartStream.NET Overview