Passing Search Parameter to SRM-MDM Through the URL

Greeting all,
I would like to know how I can pass a search parameter to SRM-MDM using the URL in the web browser. This is needed to display the result directly instead of listing the whole catalog contents.
I am trying to pass a search parameter (Text string) to the catalog through an R/3 SAP system. As a result, it should give only the material that I am looking for.
I tried the "Background Search" as described in the OCI-specification paper but still couldn't get it!
By using the parameters mentioned in chapter 3.2.4 of OCI-specification paper, I did the recommended configuration and use the following URL but still failed to pass the parameter:  http://....&FUNCTION=BACKGROUND_SEARCH&SEARCHSTRING=searchterm
Can anyone help me on that?!
Regards,
Yousif

Hi Yousif,
Why dont u save the search as a named search in MDM and then pass it onto the SRM MDM.
Save the records  as Named search in MDM Data Manager
For eg:
Named Search name -->> search1
Now while passing the parameters to the SRM MDM Catalog specify the Named Search in its url.
http://J2EESERVER:PORTNO/SRM-MDM/SRM_MDM?sap-locale=EN&HOOK_URL=&mask=&namedSearch=search1&username=Admin&password=PASSWORD&catalog=REPOSITORYNAME&server=MDMSERVERIPADDRESS&datalanguage=EN
After passing the named search in the hook url the you will be able to see only the search which was saved in Data Manager.
Hope dis helps u
Regards Tejas.........

Similar Messages

  • How do I pass a parameter to a portlet on the URL?

    I have a portlet on one tab that searches for parts. (This portlet is written and maintained by someone else.) When a user clicks on a part number in the result set on this portlet they need to be taken to another tab (different portlet on the same page) with that part number as a parameter. The second portlet then dynamically writes an
    <iframe src="http://someurl?partnumber=xyz" />
    to call an external application passing the part number as a URL parameter to the external application.
    Writing the <iframe /> dynamically is no problem. The problem is passing the part number from one portlet to another. We planned to do this by using hrefs in the part search portal using URLs like
    http://hostname:port/pls/portal/url/page/test1/portlet2?partnumber=xyz
    for each part number. The problem is that the URL parameter doesn't get passed to the second portlet. Here is the code in the second portlet:
    <%
    PortletRenderRequest portletRenderRequest =
    (PortletRenderRequest)request.getAttribute("oracle.portal.PortletRenderRequest");
    String partnumber = portletRenderRequest.getQualifiedParameter("partnumber");
    %>
    It always sees null for the partnumber parameter.
    I also have <passAllUrlParams>true</passAllUrlParams> in provider.xml.
    I've tried checking this by calling the URL of the second portlet directly from a browser. The portlet sees the partnumber parameter as null, but the URL window in the browser returns the modified URL from the portal with the partnumber parameter set properly. Portal is seeing the parameter but not passing it to the portlet.
    I haven't tried actually setting the in the first portlet and seeing if it all works when called from inside the portal, but I don't see why it shouldn't work by calling the second portlet URL directly with a parameter.
    Am I missing some step in order to pass a parameter from one portlet to another? The parameters I have to pass are dynamic, based on the result set returned by a search in the first portlet.

    My second to last paragraph should have been:
    "I haven't tried actually setting the hrefs in the first portlet and seeing if it all works when called from inside the portal, but I don't see why it shouldn't work by calling the second portlet URL directly with a parameter."

  • Commas not correctly processed when values are passed through the URL!!!!!!

    I think this is a bug. Any information about this will be greatly appreciated. Here's the scenario:
    There's a single page with 2 regions. The first region contains a simple SQL report. The second region is and HTML region that contains text and date form elements. The SQL report has a column link "Edit" that when pressed it populates form elements in the HTML region. The population of the form elements is done by passing the column values of the select row as variables along the URL. The problem is that commas within column value text are processed as delimiters in the URL. From my understanding and documentation, variables and their values are supposed to look like this:
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:1234,,5678
    where MY_ITEM1 will be set to 1234, MY_ITEM2 will be set to null and MY_ITEM3 will be set to 5678 (The URL was copied directly from the Apex 3.0 documentation without modification).
    However if the first value is text (lets say "some,thing") that contains a comma, then MY_ITEM1 will be set to the text preceding the comma in the first value (some), the MY_ITEM2 will be set to the text that comes after the comma in the first value (thing) NOT null and MY_ITEM3 will be set to null NOT 5678. Clearly, one would think that the comma in the first value should be escaped given that commas are used as delimiters of values in this URL scheme.
    The URL looks like this:
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:some%2Cthing%2C%2C5678
    However the URL should look like this:
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:some%2Cthing,,5678
    where MY_ITEM1 is set to "some,thing", MY_ITEM2 is null and MY_ITEM3 is set to 5678
    What does all this mean? This means that the escaped commas (%2C) are used as delimiters for the values. Additionally, any information that is passed that contains a comma will have it's comma escaped as well AND still considered as delimiters for values in the URL. Not to mention it's inconsistent with the official documentation.

    Never mind... problem solved.
    In the Apex docs says that you can embed commas if used within backslashes like: \123,45\.
    So in order to pass text that has a comma through the URL, one must force Apex to code the URL like this (assuming that the text is coming from a report):
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:\#A_COLUMN#\,,5678
    Sorry... no bug. :)

  • Pass search parameter to ResultSet iView.

    Hi,
    I am using standard MDM WebDynpro Components in which requirement is not to use Std. Search iView and pass search parameter say "xxxx" to Std. Result Set iView to show the result for "xxxx".
    Please let me know how shall I pass the value or default the search criteria in resultset
    - Akshay

    fine , but then ur record ids are selected based on a search parameter - isnt it ??
    how will then get the record ids , without knowing what to set
    you have to use search component here in the program  as a pre-requisite !
    this is like calling a webservice - with the java server down
    thanks
    -Adrivit

  • Pass the product ID through the URL from the checkout page to the "receipt - buy" landing page. is it possible?

    Pass the product ID through the URL from the checkout page to the "receipt - buy" landing page. is it possible?

    You can just the module_shoppingcartsummary module and with liquid you can render the items in the cart out.
    Developer reference

  • Passing variables through the URL String

    I have a template and outside the basic html - all the content is grabbed from a db. I want to use 1 template to generate all of the other pages for the site. So basically, the only way to identify the page would be through the URL string.
    So, something like -
    www.mysite.com/template.jsp?page_section=aboutus&pageID=1
    That string would query the database and output the content for page 1 of the about section.
    Does this make sense and where would I start to learn how this is done?.
    Again, I appreciate your help.
    Mark

    since database connections are costly affair i better use
    jsp include tag ratter then getting dadta from database
    assumming that u can devide your comman pages in 4 parts
    just assume
    top - logo
    bottom - common links
    center - data
    left - menu
    my jsp page would look like this (aboutus.jsp)
    <%@ include file="top.html" %>
    <%@ include file="left.html" %>
    <%@ include file="aboustus.html" %>
    <%@ include file="bottom.html" %>
    2) disclaimer.jsp
    <%@ include file="top.html" %>
    <%@ include file="left.html" %>
    <%@ include file="disclaimer.html" %>
    <%@ include file="bottom.html" %>
    this would reduce ur maintainnce as if u want to change top logo only top.html needs to be changed and it would affect in all pages
    regards
    [email protected]

  • Modify catalog Search UI in SRM-MDM

    Hi,
    I'm working with SRM 4.0 and SRM-MDM 2.0 and need to display more information in the search UI field "Price Information" , i want to add the Contract Description and the Supplier to this qualified table and to be able to see this information in the UI display.
    The business logic behind this request is: we have a several suppliers delivering the same product so we have several contracts for the same product and we need to enable the user to decide which contract is the source of supply.
    Regards,
    Raz
    Edited by: Raz Golan on Mar 23, 2009 7:43 AM

    Hi Raz,
    as the Java WebDynpro  code is not open source, you cannot modify the WebDynpro  itself.
    Also the price information is hard coded, only the specific fields are taking into account by transfer.
    Therefore I could only advice, to set up a new table for you, which can be displayed on the search UI, with the needed more information.
    Regards,
    Tamá

  • Pass parameter to apex page via the URL

    Hi, I need to pass a parameter into a page that will be used in a query inside a report region,
    e.g report region query is
    select link_id, page_id, menu_parent_id, link_text, link_url
    from portal_pages
    where page_id = :page_id
    So the page will display different links depending on what value is passed to the page in the variable.
    I know with normal URL syntax it would be something like
    http://www.domain.com/page.html&page_id=1 (where page_id is a hidden variable in apex)
    but how do I do this with an apex page like :-
    http://host:port/pls/apex/f?p=123:9 <what goes here ? and what goes in the page for it to work>
    Any help appreciated - noob to Apex
    Thanks
    Phil.

    If your item to be used in the url is P1_Page_Id, the
    url should be something like:<br>
    http://host:port/pls/apex/f?p=123:9:page_id:&P1_Page_I
    d.
    Thanks for comments, understand the syntax of the apex URLs now, got the item sorted in the page now, all working.

  • Passing a parameter to a method in the dataTable's value attribute

    Hi,
    I'm brand new to JSF, so I might be overlooking something really simple. I'm trying to use a dataTable to display data from a database. It works fine until I try to pass a parameter to "#{customer.all}". My backer bean is ready (or so I believe) and is included after the jsp code snippet. What do I need to do to the jsp/jsf code in order to pass this parameter?
    jsp code:
    <html>
       <%@ taglib uri="http://java.sun.com/jsf/core"  prefix="f" %>
       <%@ taglib uri="http://java.sun.com/jsf/html"  prefix="h" %>
       <f:view>
          <head>
             <link href="styles.css" rel="stylesheet" type="text/css"/>
             <title>
                <h:outputText value="#{msgs.pageTitle}"/>
             </title>
          </head>
          <body>
             <h:form>
                <h:dataTable value="#{customer.all}" var="customer"
                   styleClass="customers"
                   headerClass="customersHeader" columnClasses="custid,name">
                   <h:column>
                      <f:facet name="header">
                         <h:outputText value="#{msgs.customerIdHeader}"/>
                      </f:facet>
                      <h:outputText value="#{customer.Cust_ID}"/>
                   </h:column>
                   <h:column>
                      <f:facet name="header">
                         <h:outputText value="#{msgs.nameHeader}"/>
                      </f:facet>
                      <h:outputText value="#{customer.Name}"/>
                   </h:column>
                   <h:column>
                      <f:facet name="header">
                         <h:outputText value="#{msgs.phoneHeader}"/>
                      </f:facet>
                      <h:outputText value="#{customer.Phone_Number}"/>
                   </h:column>
                </h:dataTable>
             </h:form>
          </body>
       </f:view>
    </html>backer bean:
    package com.corejsf;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.servlet.jsp.jstl.sql.Result;
    import javax.servlet.jsp.jstl.sql.ResultSupport;
    import javax.sql.DataSource;
    public class CustomerBean {
       private Connection conn;
       public void open() throws SQLException, NamingException {
          if (conn != null) return;
          Context ctx = new InitialContext();
          DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/mydb");
          conn = ds.getConnection();  
       public Result getAll(sName) throws SQLException, NamingException {
          try {
             open();
             Statement stmt = conn.createStatement();       
             ResultSet result = stmt.executeQuery("SELECT * FROM Customers where Name = '" + sName + "'");
             return ResultSupport.toResult(result);
          } finally {
             close();
       public void close() throws SQLException {
          if (conn == null) return;
          conn.close();
          conn = null;
    }Thanks,
    Dave

    Mogambo,
    Thanks for the response. Let me see if I understand. Let's say I have a login.jsp page, and after the user logs in I want to display all of his orders in a dataTable in summary.jsp. You're saying I should actually run the query in LoginBean.java after doing the submit, something like this right?
    login.jsp:
    <html>
       <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
       <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
       <f:view>
          <head>                 
             <title>A Simple JavaServer Faces Application</title>
          </head>
          <body>
             <h:form>
                <h3>Please enter your name and password.</h3>
                <table>
                   <tr>
                      <td>Name:</td>
                      <td>
                         <h:inputText value="#{login.name}"/>
                      </td>
                   </tr>            
                   <tr>
                      <td>Password:</td>
                      <td>
                         <h:inputSecret value="#{login.password}"/>
                      </td>
                   </tr>
                </table>
                <p>
                   <h:commandButton value="Login"
                      action="#{login.doLogin}"/>
                </p>
             </h:form>
          </body>
       </f:view>
    </html>
    LoginBean.java:
    public class LoginBean {
       private String name;
       private String password;
       private ResultSet results;
       // PROPERTY: name
       public String getName() { return name; }
       public void setName(String newValue) { name = newValue; }
       // PROPERTY: password
       public String getPassword() { return password; }
       public void setPassword(String newValue) { password = newValue; }
       // PROPERTY: results
       public ResultSet getResults() { return results; }
       public void setResults(String newValue) { results = newValue; }
       public String doLogin(){
           Integer liUserID = null;
           // authenticate user and return user's internal ID
           liUserID = authenticateUser(name, password);
           if ( liUserID == null){
                return "failure";
          else{
               results = getUserOrders(liUserID);
               return "success";
    faces-config.xml:
    <?xml version="1.0"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
            http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
         version="1.2">
       <navigation-rule>
          <from-view-id>/login.jsp</from-view-id>
          <navigation-case>
             <from-outcome>login</from-outcome>
             <to-view-id>/summary.jsp</to-view-id>
          </navigation-case>
       </navigation-rule>
       <managed-bean>
          <managed-bean-name>login</managed-bean-name>
          <managed-bean-class>LoginBean</managed-bean-class>
          <managed-bean-scope>session</managed-bean-scope>
       </managed-bean>
    <navigation-rule>
        <from-view-id>/login.jsp</from-view-id>
        <navigation-case>
          <from-action>#{login.doLogin}</from-action>
          <from-outcome>success</from-outcome>
          <to-view-id>/summary.jsp</to-view-id>
        </navigation-case>
         <navigation-case>
          <from-action>#{login.doLogin}</from-action>
          <from-outcome>failure</from-outcome>
          <to-view-id>/login.jsp</to-view-id>
        </navigation-case>
      </navigation-rule>
    </faces-config>And then I assume that my summary.jsp would look like this, using login.results as my value for the dataTable?
    <html>
       <%@ taglib uri="http://java.sun.com/jsf/core"  prefix="f" %>
       <%@ taglib uri="http://java.sun.com/jsf/html"  prefix="h" %>
       <f:view>
          <head>
             <link href="styles.css" rel="stylesheet" type="text/css"/>
             <title>
                <h:outputText value="#{msgs.pageTitle}"/>
             </title>
          </head>
          <body>
             <h:form>
                <h:dataTable value="#{login.results}" var="order"
                   styleClass="orders"
                   headerClass="ordersHeader" columnClasses="orderid,name">
                   <h:column>
                      <f:facet name="header">
                         <h:outputText value="#{msgs.orderIDHeader}"/>
                      </f:facet>
                      <h:outputText value="#{order.Order_ID}"/>
                   </h:column>
                   <h:column>
                      <f:facet name="header">
                         <h:outputText value="#{msgs.nameHeader}"/>
                      </f:facet>
                      <h:outputText value="#{order.Name}"/>
                   </h:column>
                   <h:column>
                      <f:facet name="header">
                         <h:outputText value="#{msgs.phoneHeader}"/>
                      </f:facet>
                      <h:outputText value="#{order.Phone_Number}"/>
                   </h:column>
                </h:dataTable>
             </h:form>
          </body>
       </f:view>
    </html>Does this look reasonable?
    Thanks,
    Dave

  • How can I pass Line-In sound input directly through the MacBook Pro Speaker

    Why I need to do that:
    In a chalet with a lot of friends. We were hoping the chalet we are renting would have a stereo system we could connect our iPods to. Unfortunately, there aren't any and the only speaker we have are those of my MacBook Pro.
    Most iPods around have been formatted for Windows so I can not download the song on my computer so the only option is to plug the line in cable from the i-pod to the computer.
    However, I can not find any way to get the audio to play live via the speaker. (Actually, I have using Parallel and my Win XP image - so I know the sound card supports it - but the output volume is very weak and I think it would be better if it did not go through the VM).
    I tried using Garage Band, but no luck so far. Someone has any idea?

    elguillermo wrote:
    Why I need to do that:
    In a chalet with a lot of friends. We were hoping the chalet we are renting would have a stereo system we could connect our iPods to. Unfortunately, there aren't any and the only speaker we have are those of my MacBook Pro.
    Most iPods around have been formatted for Windows so I can not download the song on my computer so the only option is to plug the line in cable from the i-pod to the computer..... Someone has any idea?
    You can simply hook up a Windows iPod to your MBP with a regular iPod USB cable, elguillermo, and play the music directly from it through iTunes. No need to use the Line-in. Macs are capable of connecting to, playing from, and even synching with, Windows formatted iPods, without the need for anything more than the regular iPod cable.
    As others have said, you can also use the very handy little utility "Line-In" from Rogue Amoeba (who also make the very useful AudioHijack Pro - which can achieve the same thing and much more too but isn't free) if you wish to enable speaker play-through from the line-in port, but you will then have to control your choices using the iPod screen. It is much easier using iTunes bigger screen on the MBP, I reckon
    Cheers
    Rod

  • Can i search through the URL box?

    I know you can on Firefox, I'm not sure if there's a way to do it in Safari.
    I want to be able to type in "apple" in the URL box and then have that go to google or directly to apple.com instead of going in the google search box...
    I know, I'm strange, but is there a way to do that? I've already checked the preferences.

    Hello suzy:
    If you type apple in the URL box, you should get several options. One is apple.com. If I type Firefox in the box, it takes me to the Mozilla web site.
    Barry

  • Passing rendering format and report parameters in the URL to call a report - SSRS 2012

    Hi,
    I've a SSRS 2012 with the integer and multivalue Creation_Years parameter that I need to call directly to export data in the Excel format.
    I've tried to use this URL:
    http://reportserv/Reports/Pages/Report.aspx?ItemPath=%2fInsurance%2fInstallations_Excel&rs:Format=excel&Creation_Years=2014 but the parameter is required in an interactive manner.
    I've tried to set the hidden property for the parameter, I've tried to invert the position of the "rs:Format=excel" string with the "Creation_Years=2014", but the error message doesn't change. Also if I specify the 2015 year, the parameter
    isn't overwritten with the 2015 value.
    Any helps to me, please? Thanks

    Ok, thanks, I note that you have added "rs:Command=Render": looking to the official documentation this string seems optional.
    Your url functions but the parameter cannot be a multivalue one. Do you confirm this?
    Thanks
    If you want to sent value for multi valued parameter through URL you need to repeat it
    ie like this
    http://reportserv/ReportServer/Pages/ReportViewer.aspx?%2fInsurance2fInstallations_Excel&rs:Command=Render&rs:Format=excel&Creation_Years=2014&Creation_Years=2015&Creation_Years=2016...
    also see
    https://msdn.microsoft.com/en-us/library/ms155391.aspx
    If parameter value itself has characetrs like & in it you need to escape them first using javascript
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How do I link to a HelpID or a Search Term without any programming, through a URL?

    I have looked through the documentation, and it seems that every "possibility" to call either a search term or a HelpID/CHSID for my documentation is to use some sort of API.
    Is there a way to call the search function and CHSIDs directly by only typing a URL in a browser (or link from another page, or from an email, etc etc)?
    I'd actually like to know for all 3 outputs I am potentially going to be using: WebHelp, WebHelp Pro (RoboHelp Server 9) and HTML5, as I'm not sure yet which form it will take at the software release.
    Thanks!

    Hi OL-Lachance
    A couple of items I would add to Willam and Colum's comments.
    At the present time, WebHelp Pro (the Rh Server 9) does not support HTML5 output. WebHelp on a conventional web server is fine.
    In terms of the odd terminology for CSH, the term MAP Number or Map ID, generally refers to a unique number that is assigned to a topic so that it can be referred to in the application calling the help. The Topic ID is generally an alphanumeric string which is often the name of the topic title connected by underscores. Depending on the language of the application, sometimes only the Map number or sometimes only the Topic ID is used. Or, as you have learned, sometimes neither one is used and a URL is used instead!
    You and your developers may also find these topics helpful in the RoboHelp online help which can be downloaded here:
    http://help.adobe.com/en_US/robohelp/robohtml/robohelp_11_help.pdf
    Look at Chapter 11 for some interesting specifics on the many ways to call CSH. Of course the links mentioned in Willam's and Colum's posts are excellent as well.
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • Sending Two Values Through the URL

    Morning Everyone,
    Iv got a small problem. I want to sent 2 variables through a URL. I can send 1 no problem but im unsure about how to send 2. Here is my code to send 1:
    select COL_1, COL_2, COL_3,
       '<a. href="'
    || 'f?p=&APP_ID.:30:&SESSION.::&DEBUG.::'
    || 'P30_DB_NAME:'
    || 'CSTRNPA'
    || '">'
    || 'link'
    || '</a>'
    from tableWhat is happening here is i am sending the simple string value 'CSTRNPA' to the item P30_DB_NAME on my target page. Please can someone show me the way to send 2. I have tried different combos but have yet to successfully do it.
    Thanks in Advance,
    -N.S.N.O.

    Hey Guys,
    Iv got another question. I want to know how to send the value of a column instead of a string. What i mean by this is if i go to
    report attributes > link then i can select the item names and the values from which column i choose. For Example if the column was called DB the pop up list would give me the option of #DB#
    how can i incoperate this into me code?
    select COL_1, COL_2, COL_3,
       '<a. href="'
    || 'f?p=&APP_ID.:30:&SESSION.::&DEBUG.::'
    || 'P30_DB_NAME,P30_ANOTHER:'
    || 'CSTRNPA,VALUE'
    || '">'
    || 'link'
    || '</a>'
    from tableThanks,
    -N.S.N.O.

  • Passing username and password through the URL (SharePoint integration)

    Dear friends
    I have a requirement to integrate MS SharePoint with Jsp application site. user has to login to the Sharepoint first then from link (URL) i want to pass the username and password from
    that link to login into the jsp site without showing the login page !!

    SharePoint with Jsp application site. user has to login to the Sharepoint first then from link (URL) i want to pass the username
    and password from that link to login into the jsp site without showing the login page

Maybe you are looking for