cancel
Showing results for 
Search instead for 
Did you mean: 

SRM HTML Catalog Hook URL issue

Former Member
0 Kudos

Hi Everyone,

I've combed and will continue to comb through the forums to find a solution to my problem, but im hoping that someone can help a newbie out.

I have my SRM catalog with all the information in my inputs, but it seems that my HOOK_URL function isn't working. Here's my Hook_URL code with a sample of a product in the catalog:

<FORM action="%=Request.QueryString("HOOK_URL")%" method="post" target="_top">
<!-- For more information about the interface fields,
refer to the catalog interface description -->
<input type="hidden" name="~OkCode" value="ADDI">
<input type="hidden" name="~target" value="_top">
<input type="hidden" name="~CALLER" value="CTLG">
<br>
<!--Item number 1-->
<input type="hidden" name="NEW_ITEM-DESCRIPTION[1]" value = "Pen,Easytouch,
Medium, Black">
<input type="hidden" name="NEW_ITEM-MATNR[1]" value = "">
<input type="hidden" name="NEW_ITEM-MATGROUP[1]" value = "">
<input type="hidden" name="NEW_ITEM-QUANTITY[1]" value = "1">
<input type="hidden" name="NEW_ITEM-UNIT[1]" value = "EA">
<input type="hidden" name="NEW_ITEM-PRICE[1]" value = "50.00">
<input type="hidden" name="NEW_ITEM-PRICEUNIT[1]" value = "5">
<input type="hidden" name="NEW_ITEM-CURRENCY[1]" value = "USD">
<input type="hidden" name="NEW_ITEM-LEADTIME[1]" value = "1">
<input type="hidden" name="NEW_ITEM-VENDOR[1]" value = "">
<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value ="">
<input type="hidden" name="NEW_ITEM-MANUFACTCODE[1]" value = "4711">
<input type="hidden" name="NEW_ITEM-MANUFACTMAT[1]" value = "4712">
<input type="hidden" name="NEW_ITEM-CONTRACT[1]" value = "111">
<input type="hidden" name="NEW_ITEM-CONTRACT_ITEM[1]" value = "1111">
<input type="hidden" name="NEW_ITEM-SERVICE[1]" value = "">
<input type="hidden" name="NEW_ITEM-EXT_QUOTE_ID[1]" value = "111">
<input type="hidden" name="NEW_ITEM-EXT_QUOTE_ITEM[1]" value = "1111">
<input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[1]" value = "11111">
<input type="hidden" name="NEW_ITEM-LONGTEXT_1:132[]" value =
"longtext_1:The best pen in our program, lightweight and easy to handle">
<input type="hidden" name="NEW_ITEM-CUST_FIELD1[1]" value = "custf1.1">
<input type="hidden" name="NEW_ITEM-CUST_FIELD2[1]" value = "custf1.2">
<input type="hidden" name="NEW_ITEM-CUST_FIELD3[1]" value = "custf1.3">
<input type="hidden" name="NEW_ITEM-CUST_FIELD4[1]" value = "custf1.4">
<input type="hidden" name="NEW_ITEM-CUST_FIELD5[1]" value = "custf1.5">
<input type="hidden" name="NEW_ITEM-ATTACHMENT[1]" value =
"http://www.heise.de/ct/motive/01/04/p800.jpg">
<input type="hidden" name="NEW_ITEM-ATTACHMENT_TITLE[1]" value =
"pinguine...">
<input type="hidden" name="NEW_ITEM-ATTACHMENT_PURPOSE[1]" value = "">
<input type="hidden" name="NEW_ITEM-EXT_SCHEMA_TYPE[1]" value="UNSPSC">
<input type="hidden" name="NEW_ITEM-EXT_CATEGORY_ID[1]" value="50101610">

I'm using an HTTP sniffer to see if my values are working..but off hand, can anyone see a problem with my hook url feature?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

<FORM action="%=Request.QueryString("HOOK_URL")%" method="post" target="_top">

Should be (added < and >):

<FORM action="<%=Request.QueryString("HOOK_URL")%>" method="post" target="_top">

But to say some more sensible things we need more information. What is not working? Do you have any log in SLG1 in the SRM system?

Regards,

Robin