Create dynamic URL Iview type

Hi Expert,
I need to create a page with two URL iviews. The first iview is fixed and the other one is flexible and the URL address must be passed by parameter. Is that possible?
Thank in advance
Sergio Sepulveda M.

Hi Sergio,
it depends a bit from where the parameter should come... Anyhow, a general approach is to develop a wrapper iView around the target iView (component) which takes a parameter / calculates target parameter on the fly and then calls the target component with these dynamic parameters.
Serach for "proxy iView AND Detlev" on SDN for further details.
Hope it helps
Detlev
PS: As already mentioned, please consider rewarding points for helpful answers on SDN, see tool tips in second level navegation too

Similar Messages

  • Dynamic URL iViews in EP70

    I need to be able to create an URL iView where by the domain and port must be dynamically set in the URL. Is there an easy way to accomplish this using EP70?

    Hello Chris,
    The error is:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_paymentClusterCreate_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /ns0:mt_newPaymentClusterData/merchant_name; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (471/200):
    It's even in the SAP Help:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce299c3a8e5430e10000000a42189b/frameset.htm
    The length of the attribute value is defined by the XI message protocol. Values can be a maximum of 200 characters long. If, for example, you assign longer values in the mapping or adapter modules then this can lead to processing errors at runtime or the values are shortened to 200 characters. This shortening can also lead to a processing error. The processing error that occurs depends on the components that access the attributes.

  • Unable to create HTTPS url iview

    Hi,
    We are unable to create https url iviews. Neither our own iview for adding url's or the standard template for creating url iviews are supporting the https protocol.
    The error message is: 'Unknown protocol: HTPPS'.
    We are using EP5 SP4, J2EE 6.20.
    Any ideas?
    Mohammed

    Hi,
    I left the default query as it is and specified my Search Component Set & Search Options Set in the Search Component Set and Search Options Set fields resp. Now when I do a Search, it does return the results and when I preview my iview, I see a text box and a Search button next to it. I also, see a "Show Options" link and I need to get rid of it. How can I do it? Can anyone please help me? Is this something which I need to do in the Search Component Set or Search Options Set? Any help will be greatly appreciated.
    Thanks,
    Sri

  • Creating dynamic URL parameters

    I need to access the form value j_username to create a dynamic url but the following JSP code snippet is putting a blank value into �username�. This is before the form is submitted.
    Any ideas ?
    <input type="button" name="btnPassword" value="Password?" onClick=
    "<c:url var="emailMyPwdUrl" value="secure/MailPasswd.do">
                     <c:param name="username"
                     value= "${document.loginForm.j_username.value}"/>
    </c:url>
    <input type="button" name="btnPassword" value="Password?"
    onClick="document.location='${emailMyPwdUrl}';"> ">         I also tried with JavaScript and am having the same problem!
    function getLogin() {
        var user = document.loginForm.j_username.value;
        if ( user == '' ) {
                alert( 'No User Name Entered');
          else {
                alert('User Name Entered:' + user);
                <c:url var="emailMyPwdUrl" value="secure/MailPasswd.do">
                        <c:param name="username"
                         value= "${document.loginForm.j_username.value}"/>
                </c:url>
         document.location='${emailMyPwdUrl}';
    }

    Thanks for your reply,
    So basically when the user presses the "btnPassword" button I want to get the value "j_username" from the form and then redirect (no submit!)to "secure/MailPasswd.do" with parameter "username".
    I do not want to submit the form when "btnPassword" is pressed as this will cause the "j_security_check" action to take place.
    I am correctly redirected to "secure/MailPasswd.do" but the problem is the parameter "username" is blank when I try to getParameter on the "secure/MailPasswd.do" page.
    So am I setting the c:param username correctly ?
    Here is the full JSP page as I pasted it incorrectly the last time...
    c:set var="fullPath" value="${pageContext.request.contextPath}"/>
    <form name="loginForm" method="post" action="j_security_check">
    <table  border="0"
            width="350"
            height="263"
            align="center"
            background="${fullPath}/images/include/collage.gif"> 
      <tr>
        <td colspan="3" align="center">
          <c:if test="${not empty error}">
            <font class="error">${error}</font>
          </c:if>
        </td>
      </tr>
      <tr>
        <td colspan="3" align="center">
          <c:if test="${not empty message}">
            ${message}
          </c:if>
        </td>
      </tr>
      <tr>
        <td align="center">
          <table border="0"> 
            <tr>
              <td align="right">
                <span class="text">User ID</span>
              </td>
              <td align="left" colspan=2>
                <input type="text" name="j_username" size="21" />
              </td>
            </tr>
            <tr>
              <td align="right">
                <span class="text">Password</span>
              </td>
              <td align="left" colspan=2>
                <input type="password" name="j_password" size="21" />
              </td>
            </tr>
            <tr>
              <td></td>
              <td>
                <input type="submit" value="${buttonLabel}" />
              </td>
              <td>
              <input type="button" name="btnPassword" value="Password?"
                onClick="           
                <c:url var="emailMyPwdUrl" value="secure/MailPasswd.do">
         <c:param name="username" 
                          value= "${document.loginForm.j_username.value}"/>
                </c:url>
              document.location='${emailMyPwdUrl}';"
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    </form>

  • Dynamic URL Iview

    Hi
    We need to show language specific content to the user logged in. We have different URL for each language.
    We are using URL iviews in portal.
    If a Arabic user logs into portal I want him to see the Arabic page by default. If a English user logs on I want him to see the English page by default.
    I wanted to know whether it is possible to change the URL dynamically depending on the user profile.
    Rgds
    NagaKishore V

    Hi
    My req is
    We are using url iviews for in portal. We have web pages for different languages.  Req. is when a user with Arabic as language preference logs in he should see the web pages in Arabic. If the user preference is Japanese he should see Japanese pages. We dont want to maintain mulitiple iviews for each language. The webpage urls are in this format
    For englisj ;--  www.xxx.com/yyy/en
    for japanese - www.xxx.com/yyy/jp
    for arabic - www.xxx.com/yyy/ar
    Since only the last 2 characters are differeent and rest of the url is same, Is there is a way where we can create 1 iview and depending on the user preference he is navigated to that page.
    Regards
    NagaKishore V

  • How create  dynamic URL for every row  shown in the report?

    Hi,
    Iam new to this Application. I created one interactive report to find the number of bugs logged for every product and its sub component for past one year. The report will look like below structure in the application.
    Product Subcomponent Total
    P1 S1 10
    P2 S2 4
    P2 S21 15
    Now i want to pick the value of Prouct and sub component for every row dynamiaclly and want to generate the URL with the conditions and make it as hyperlink for the Total Column.
    Iam able to make hyperlink for the Total column using the edit options for the total attribute, but it is opening the same page for all the rows in the total column. I want to generate dynamic URL by picking the value prodcut and sub componenet dynamically from the report for every row and want to make it as hayperlink for every row individually.
    Please tell me how to do this?
    Please revert back if you are not clear. Appericiate for your quick help.

    Hello <unknown user>,
    So you already set the Column Link attributes for your Total column. Should all links go to the same page, but with different parameters (ProductID, SubcompID)? Or to another page? And how can you determine that page?
    Assuming you'll go to a sort of detail page or form:
    Target = [Page in this app]
    Page = <your target page no>
    Item1 = <ProductID field in target page>
    Value = #PRODUCTID#
    Item2 = <SubcompID field in target page>
    Value = #SUNCOMPID#
    (you can use the ' flashlight' for getting the correct values)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Support for file tag in XSLT to create dynamic pages  - Gallery type 'Flash'

    Based on my understanding, when you export, LR Web engine looks for transformer.xslt by default if the gallery type is HTML. It allows to use <file name="outputfilename.html"> tag in this transformer.xslt to create new files.<br /><br />But to my knowledge I don't see the above defaults working if the gallerytype is Flash. Why? I don't understand why LR is restricting the Flash based galleries from creating dynamic output files via XSLT.<br /><br />I tried setting xmlTransformer file name to transformer.xslt in galleryInfo.lrweb and leaving xmlPath to blank but this doesn't seem to work. If I give some dummy XML name, it creates the xml in that name, but ignores creating new files I mentioned in the <file> tag in xslt.<br /><br />Can someone please explain if there are any alternates or if possibly fixed in the next release ?

    Are you the one who commented out the code you're looking for ?//String desc = StringFactory.getString(attributes.getValue("desc"));You just have to modify you AttributeObject class to hold a new field : String description. And then, it's up to you to create a new constructor or a new setter method.
    Btw, this is not a Swing related question.

  • Dynamic Url iView- is it possible?

    Hallo
    Just a short question concerning the url iView in 7.0.
    I need to implement a url iview which can be transported through the landscape (directing to various systems in dev, test and prod).
    Do you know if this is possible while using a url iview?
    I have noticed the system drop down in the url iview. Does anybody know what it is good for? (there are no systems available despite having system[including associated alias] set in the pcd)
    Thanks for your help,
    Regards,
    Minima

    Hi Minima,
    I don't know where your URLs are pointing to but maybe the following will help you.
    We have uploaded some static html in a .par file to the portal server, lets say for this example the file is called com.company.statics.par.
    We call them via a URL iView that is using Relative URL instead of an Absolute one...
    To call an URL we use: /irj/portalapps/com.company.statics/example.html
    As you can see it's a Relative URL and not an Absolute one, in this way you don't have to worry about the URL's after transport.
    If this is not a possibility for you then I would suggest to take a look at the Application Intergrator.
    Cheers,
    Benjamin Houttuin

  • Creating dynamic urls

    Hi everyone, I've got the following problem:
    I have a set of parameters destined for a url that are the same.
    But, I have to add a few parameters to the url before creating it depending on the link.
    Also the url is not the same for each link.
    What's the best way to do it, apart from writing
    3 different <c:url></c:url>?
    Message was edited by:
    dvm.daedalus

    Hi there, I tried to get the external context just like my code below... please see my comments below
        public ShopController() {
            System.out.println("We entered shopcontroller Constructor method");
            //FacesContext.getCurrentInstance().getExternalContext().getSessionMap().clear();
            FacesContext fc = FacesContext.getCurrentInstance();
            FriendlyUrlServlet fus = (FriendlyUrlServlet) fc.getApplication().getVariableResolver().resolveVariable(fc, "FriendlyUrlServlet");
            System.out.println("IS FUS EQUAL TO NULL? : " + fus==null); <--printed out false...
            Shopdetails currentShop = fus.getCurrentShop();  <-- threw an exception saying NullPointerException *****
            System.out.println("IS Current Shop EQUAL TO NULL? : " + currentShop==null);
            //System.out.println(currentShop.getShopname());
            //System.out.println("Laughter: " + context.getExternalContext().toString());
            //context.responseComplete();
        }Why did Shopdetails currentShop = fus.getCurrentShop(); throw a null pointer exception? I suspect that the Servlet did not save the attribute, and when I led control over to the Managed Bean, the Servlet did not save the attribute "Shopdetails"...
    How should I get passed this barrier? I would like to retrieve the Shopdetails Object which was stored in the FriendlyUrlServlet (a servlet) from a ShopController(a managed bean). How to do this?
    Thanks

  • Dynamic Parameters in URL-IView

    Hai,
    I am using the ESS-framework and I want to create a link which calls an URL with dynamic parameters.
    I have already created an URL-Iview with the example url:
    http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm
    And I also defined a resource and a service in the backend (Customizing)
    My question is:
    How can I dynamically generate the Parameters SCENARIO and MODE in the url using the URL input field in the defined resource?

    Hi Remco,
    If you create several resources for the same webdynpro (isrform) you can pass params via the resource definition (URL params).
    Your webdynpro application can be defined as:
    - Webdynpro application (in the xss homepage framework) as a resource;
    - URL resource linking to a portal page/iview (with params): url iview with params
    - URL resource linking to a portal page/iview (with params): webdynpro iview with params
    But before you are going to tweak with it, please try to find out if your url will work:
    http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm?scenaro=SPEG&mode=CREATE.
    If this works, then create an iview in the portal of the url type or webdynpro type. Does it still work with static params? If so, remove the static params from your iview properties.
    Now try the following link:
    http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview
    If this works, check out the following link:
    http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview&DynamicParameter=MODE%3DCREATE%26SCENARIO%3DSPEG
    Everything after DynamicParameter must be encoded. To find out what the encoding is, just use google and search for your characher. As an example (let's find the = sign):
    http://www.google.nl/search?hl=nl&q=%3D&meta=
    %3D is the = sign
    Last step:
    Create a resource as described on top of this post.
    This will be my approach to get this working
    Good luck!

  • Problem while creating URL iview (in EP7.0)

    Hi,
    I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
    "No templates to display. You are not assigned to any existing templates."
    please assist me in this regard.
    Thanks,
    Suri

    Hi Manoj,
    Thank you for your reply.
    I am still getting the same messages even after creating the iview template in EP7.0
    Created through:
    content Admin --> portal content --> <folder>new --> iview  --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
    Open object for editing...--> Object is a Template to Yes.
    Result :
    content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
    "No templates to display. You are not assigned to any existing templates."
    Rgrds,
    Suri.

  • Creating URL iview for Interaction center

    Hi All,
    We currently have Interaction center ( CRM application) integrated in our Portal ( EP 7.0). Due to some issues, we need to create an URL iview for Interaction center instead of a BSP application.
    Pls let me know what parameters should I mention to link interaction center in portal.
    For BSP ivew we just mentioned the application name and the backend alias.
    how wil this work if we need to make it work through URL iview
    regards
    Uday

    I believe its not suggestable to remove that message also as it will be very very serious security threat for your machine,
    try -> tools->Internet options>Security->Local internet ->Custom level->Downloads->
    Automatice
    Automatic prompting for downloads.->enable and try enabling Active X check boxes also give it a try not sure it will work.
    use this at your own risk
    jo

  • Pass parameters dynamically to url iview from web dynpro abap

    Hi,
    I am trying to pass 3 key-value pairs via absolute navigation to a URL iview.
    The url expected is : http://www.sap.com?field1=value1&field2=value2&field3=value3
    For this, I have done the following:
    1) Created a url iview with the 3 parameters in get.
    2) Used the pcd location of the url iview and referred it in the navigate_absolute method.
    Following is the call:
            CALL METHOD lr_port_manager->navigate_absolute
              EXPORTING
                navigation_target   = wa_navigation-target
                navigation_mode     = wa_navigation-mode
                use_sap_launcher    = abap_false
                business_parameters = l_bus_parameter_tab.
    The l_bus_parameter_tab has the key-value pairs populated and I can see them populated.
    However, when the url is being called the parameters are not getting passed. Am I missing anything to be passed?
    Thanks.

    Hi Kumar,
    I have followed your reccomendation and updated the code and iview properties.
    The code now looks like:
            l_parameter-key = 'userid'.
            l_parameter-value = sy-uname.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
            l_parameter-key = 'portal'.
            l_parameter-value = 'test'.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
            l_parameter-key = 'mode'.
            l_parameter-value = 'I'.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
    *End of business parameters population
            CALL METHOD lr_port_manager->navigate_absolute
              EXPORTING
                navigation_target   = wa_navigation-target
                navigation_mode     = wa_navigation-mode
                use_sap_launcher    = abap_true
               business_parameters = l_bus_parameter_tab.
                launcher_parameters = l_bus_parameter_tab.
    However, when the method is called, it does nothing and the url does not get called.
    When I manually add parameters to the url iview and preview it, it does the job.
    For some reason, these parameters are not getting passed to the url iview or page.
    Is there a limitation that parameters cant be passed to url iviews?

  • Configuring SSO to a URL iView

    hi everyone......
    i'm relatively new to EP....
    and my requirement is.....
    i've created a URL iView and when i logon to the portal.....i need my <b>yahoo or gmail inbox</b> to appear in this URL iView.....
    i read frm a thread that i need to confgure SSO for this by creating a system....
    can u plz guide me how to configure SSO and also the usermapping.......
    help is highly appreciated....
    thanks and regards,
    Sudheer

    Hi Sudheer,
    Please Ensure The following:
    SSO with Yahoo:
    UPLOAD:
    1.Upload the par in PCD
    SYSTEM CREATION:
    1)Create ->System from par -> select com.sap.portal.howtos.webapp -> web application->give name & Id
    2)Properties-->object->system definition
           Name of the server : login.yahoo.com
           Port : (empty)
           URI :/config/login
    3)create alias
    4)set user Mapping
    IVIEW CREATION:
    1)Iview from par
    2)Iview type:com.sap-appintegrator.sap
    3)template:generic
    4)Properties Setting:
         System : (system alias name )
         URL Template :<System.protocol>://<System.server><System.uri>?<Authentication>
         URL Template fragment for UserMapping: <System.protocol>://<System.server><System.uri>?<Authentication>
    Regards,
    Ramganesan K.

  • URL IView with parameters having no parameter identifier

    I have created a url iview but the first parameter has no Parameter Identifier after the ?. Is there a way to code for this in the URL Parameters section of the iview. Here is par to of the URL:
    .../Pages/ReportViewer.aspx?%2fExpress ...
    if it said something like
    /Pages/ReportViewer.aspx?codelink=%2fExpress
    then it would be no issue.
    Normally you would put something like codelink and the /Express in the value section. the portal will not let me leave it blank and I have tried using a space. I am trying to access a specific report on the Report Server of MIcrosoft Reporting Services.
    Thanks
    Paul

    Good day,
    Review the following document:
    https://cw.sdn.sap.com/cw/docs/DOC-41417
    If that did not help, you may need to create your own template since the standard URL iview generates URL values based on it's own template OR create your own modified version of the PAR.
    Review the following document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cbc309-ff89-2a10-8bad-bcde4c152ecb
    View the following supplementary articles for information on creating your own appintegrator template:
    https://cw.sdn.sap.com/cw/docs/DOC-109843
    https://cw.sdn.sap.com/cw/docs/DOC-101603
    http://help.sap.com/saphelp_nwesrce/helpdata/en/70/5a3842134bad04e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nwesrce/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htm
    The benefit of this is that you can now create a system object that references the MS reporting Services system from the portal, and transport iviews pointing to this along yoru landscape without issue, and additionally you can specify parameters that can be dynamically determined when an iview is created using the template you have defined.
    We use this for connecting to our BO systems dynamically as the landscape calls and apliaction in a different environment. Parameters are also defined differently in our templates. It take a little time getting your head around the documentation, but once you have it sorted it is very straight forward. If you find it too daunting you can also search for the download  to com.sap.portal.howtos.webapp.par which has portion of this preconfigured for use already.
    http://wiki.sdn.sap.com/wiki/display/EP/HowtodoSSOwithInternetsites
    I trust this helps,
    Doug.

Maybe you are looking for

  • Add New Screen Fields in Delievery Line Item

    Hello All, We have a requiremnet where we should add 3 custom fields to delivery line item tabs, please let me know how I can add a new tab for delievry line item tabs and how to add new custom screen fields in that tab,. Thanks Add New Screen Fields

  • Idiots guide to connecting xp pro to os 10.2 server?

    Anyone have a link for an idiots guide to connecting an xp pro pc to a 10.2 server? I try to use xps network setup - \\servername\foldername hit enter then it asks for a user name and password. I enter our generic building wide user name & pw, it thi

  • Frm 40598

    Dear all, i have an item which REQUIRED property is set to yes i have a form level on-error trigger my :system.message_leve='25' when i try commit the form without providing the required fields it do not commit nor issue any message. in on-error trig

  • Keyboard keys showing different symbol to what I press

    My keyboard isn't working properly, when I press the letter 'o' it shows the symbols 'oty' and when I press 'N' it brings up a new page of whatever I'm on. Also when I press 'L' it shows the copyright symbol followed by a dot and what looks the the l

  • Dump file with error C0000005 ACCESS_VIOLATION exec_sq close_connection

    Hi I am seeing a really odd problem I am calling a 6i client/server form from a 10g webform using webutil_host. Sounds mad I know, but the 6i form uses the Open Client Adapter to connect to sql server via odbc using exec_sql. The client/server form w