Showing iView programmatically

Hi.
Now I'm in research and I have such question:
I know that it is posible to get such object as iView programmatically and modify it.
And Is it posible to show this iView programmatically.
For example.
I know that there is an iView "myView" in Portal Content.
but there is no delta-Link for it to any workSet/role/page.
So no user can not see it.
So I want to create such an application(and integrate it into portal) that will show this iView.
Is it posible?
If yes? - how to do it?
Thanks for looking.

Hi Alexander,
Please see the following for how to create navigation links:
http://help.sap.com/saphelp_nw04/helpdata/en/43/0029d0e7371aa2e10000000a422035/frameset.htm
Can you explain your precise scenario:
(*) Do you want to simply send a parameter to one iView (navigation target) and have that iView navigate to it? If so, you can simply send a request parameter (or maybe you get it as a parameter in an HTMLB control) and then do a redirect to the appropriate URL. But why not just navigate directly.
Hope this helps.
Daniel

Similar Messages

  • Problem in creating iview programmatically

    Dear EP friends,
    I am trying to create an iView programmatically following the EP help doc.
    At the code below
    IiViews iViewSrv =(IiViews) PortalRuntime.getRuntimeResources().getService(IiViews.KEY);
    i am getting errror recorded at log as
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    what would be the problem,
    i included the required jar i.e. com.sap.portal.ivs.api_iview_api.jar
    any idea ??
    thanx in advance.
    regards
    lakshmikantha

    Hi Lakshmikantha,
    I have seen some implementations that, instead of taking the current user, your component would get a reference t the PCD "service user" and use this user when doing the PCD lookup. This user has access to entire PCD.
    The code to get this user is the following:
    IUserManagementEngine ume =
        ManagementEngine) PortalRuntime
        .getRuntimeResources()
        .getService(IUserManagementEngine.KEY);
    IServiceUserFactory sufactory = ume.getServiceUserFactory();
    try {
        serviceUser = sufactory.getServiceUser(username);
    } catch (UMException e) {}
    You should read the PCD Javadocs, which has some more info (and slightly different method for getting the service user).
    NOTE: For many, this is a major security hole.
    For more info, check out this thread:
    Hope this helps.
    Daniel
    P.S.: You can just call me Daniel.

  • Hide show portlets programmatically

    Hi,
    i have to show/hide one portlet programmatically, how can i achieve this.
    for example if session user data is null the portlet will be shown else hidden.
    Please help.

    Urgent Issue... ..
    Any help Please..

  • Show iView Tray in WPC

    Hi all,
    Does anyone knows how to show the iView Tray in web page composer (WPC)?
    When I drag and drop an iView to a WPC container, the tray doesn't appear.
    How can I solve this problem?
    tks

    Suresh,
    You need to go to System Administration, System Configuration, KM, Content Management, Web Page Composer, Containers.
    In each container you want to add iViews, change the "Allowed Content Types" parameter and check "iViews" in this parameter. This option allows you to add iViews into containers in WPC.
    Note: Be sure to check this option for all containers
    This might solve your problem, ok??
    Regards

  • WPC / Show iViews in Website Content ROLE Based?

    Hi,
    i have a Question. Is it possible to show on a Website Content on Role based Design?
    What i want is:
    Create a Website with Content and iViews (URL to goole e.g.)
    When a user opens the Site over the Navigation i want that a user that has the Role "google" see the google Startsite in that Website. If the User have NO Google Role.. he should not see the iview in the Content Area..
    Is this possible?
    Regards
    Bjoern

    Hi gauri gosavi ,
    Since the anonymous user is not having any roles , the internal content can not be accessed. There are many restrictions for anonymous users .
    Thanks
    Suresh

  • Showing iViews with Web Page Composer

    Hi guys,
      I have to use iViews in a Web Page in Web Page Composer. I was searching some info in snd but  i couldn't find anything about it.
      Can somebody help me?
    Best regards.

    Hi,
    Below links may be helpfull to you.
    https://weblogs.sdn.sap.com/pub/wlg/5924
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06d15a7-10de-2a10-639d-9fabeb806a5e
    Raghu

  • Apple TV no longer shows iView icon

    I used to have an ivies icon on my home screen now it is gone.

    Which country are you in? Are you talking about ABC iView in Australia?
    AppleTV content for Australia is listed here:
    https://www.apple.com/au/appletv/whats-on/

  • Error while create iview in 6.2

    Dear EP friends
    I am getting below error while try to create the iview programmatically.
    Error:javax.naming.NoInitialContextException: java.lang.ClassNotFoundException: com.sapportals.portal.pcd.gl.PcdInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.sapportals.portal.pcd.gl.PcdInitialContextFactory]
    The version i am working here is
    6.0.2.33.0.Enterprise_Portal_Support_Package_2
    I included some of jar files of 6.4.
    any idea?
    plz reply
    thanx in advance
    with warm regards,
    S. Lakshmikanthaiah

    hi Detlev,
    thanx for ur response.
    I am following as the steps given in
    Browse Roles, Folders, Pages & iViews assigned to a user: EP6 SP2
    of Prakash Singh.
    His another one EP 6.4 worked fine.
    and libs i am using appropriated only,
    still i got that error.
    that is why posted my query
    thanx anyway
    Lakshmikantha

  • How to retrieve a property value from an iview in the back-end?

    Hi,
    I am looking for a back-end function module or any other way to retrieve the property value of an iview in the portal.
    Is this possible?
    thanks,
    Bert Caryn

    Hi,
    Look at the following threads,
    For programmatically getting the iview properties,
    Programmatically getting iView Properties
    Also,
    Get Properties of IView Programmatically
    Permanent change of iView property programmatically
    Hope these threads help u.
    Regards
    Srinivasan T

  • How to set minimum height size for an empty XML Form iview

    Hi,
    I'm trying to configure the minimum height size of an XML Form iview without sucess. Even when there is no content to show, iview height size is around 80 pixels. When there is content the automatic configuration works fine and the iview is resized properly.
    The iview has automatic size and the minimum size for automatic is with 5 pixels...
    Any ideas?
    Thanks,
    Marcelo

    Hi,
    I'm trying to configure the minimum height size of an XML Form iview without sucess. Even when there is no content to show, iview height size is around 80 pixels. When there is content the automatic configuration works fine and the iview is resized properly.
    The iview has automatic size and the minimum size for automatic is with 5 pixels...
    Any ideas?
    Thanks,
    Marcelo

  • Portal iviews as services in left hand navigation

    When I click on a iview - I am able to show iviews as "Relative Links" in the left hand navigation.
    But I am not able to show them as "Services" in left hand navigation below "Detailed Navigation".
    Suggest me to solve this.

    I have different kind of iviews  from URL iview to Transaction iVIews or Webdynpro iviews, I am showing them in lefthand side presently in Detailed Navigation box. but I want to show them as Services to a iview/page/workset is that possible?
    I have seen that in Buyer/Purchasing Business package. But I am not able to design in such way..

  • DQE connection to BW server showing failed connection

    hi hanif here,i hav created a system for BW and using the DQE string to acces that.but i am facing some problem in it regarding the WAS path.for normal iViews that system shows iViews but for DQE Iviews it fails.For both the WAS path is different i.e.only the port no.in the query string.Where the problem is lying i am not getting even after changing properly the port no.
    Regards:
    hanif

    not answered

  • How to generate PDF from an IView

    Hi all,
    I have been reading a lot about generating PDF document, smart form, adobe LiveCycle Forms, BAPI's..etc. but I can not find anything more simple:
    I just would like to show (and maybe save and print) in PDF format (maybe in a popup) an IView content.
    I have read how to generate a pdf file from a binary attribute of the Context, but nothing about how to fill this binary attribute with the data of the current showed IView.
    Is this possible?
    Thanks in advance,

    Hello, Lohitha.
    Thanks for your post. You are right, the general way to create a PDF is like that, using Adobe Interactive Forms.
    Using this, I must design a form and fill it with data binding. But, in fact, what I'm requested to do is just convert the current IView into a pdf file without using any forms, but keeping the IView design.
    Let me explain myself, It could be something similar to convert a .doc file into .pdf.
    I tried this code;
         IPrivatePDFComponentView.IContextElement contextElement = wdContext.currentContextElement();
         byte[] bytes = contextElement.getPdfSource(); //here I get bytes = null since PdfSource is empty if I do not use Interactive Forms!!
         try {
              File file = new File("C:\temp\example.pdf");
              FileOutputStream os = new FileOutputStream(file);
              os.write(bytes);
              os.close();
         } catch (IOException e) {
              // do something
              e.printStackTrace();
    Do you know how could I do that?
    Thanks

  • Refresh Iview with changed iView properties

    Hi All,
    There are two iviews in a page..
    1) par Iview
    2) transaction iview
    If an event takes place in par file iview it should reflect in transaction iview also by changing the Tcode of transaction iview programmatically...
    we have to display the same page with the new values....
    is there any way to achieve this...
    Thanks
    RGNG

    Hi Raghavendra,
    You can trigger client events to refresh iviews.
    Please refer this SAP doumentation
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/aebf40b87e0366e10000000a1550b0/content.htm

  • Java-iViews storage location EP6.0 SP9

    Hi All,
    Could anyone tell me where all java-iviews will be stored in EP6.0 SP9.
    EP5.0 path is like this I think..Am I correct?
    E:\APPS\Enterprise Portal\DataFile\data\Pcd/global/services/java-iviews/
    I want to list out all the java-iviews programmatically.
    Any help would be highly appreciated.
    Regards,
    Karthick

    Hi Senthil,
    Could you please tell me how to get the locations ..
    getPortalComponentArchivePath();
    ex: /system/irj/par/
    getGlobalPagePath() :
    e.g.: /global/pages/
    getServiceCataloguePath():
    e.g.: /global/services/installed/
    getJavaIviewPath():
    e.g : /global/services/java-iviews/
    getLocalServiceIviewPath():
    e.g :/global/services/service-iviews/local/
    Regards,
    Karthick K Eswaran

Maybe you are looking for