List of iViews

Hi Gurus,
I have a requirement for getting the list of iViews running on my EP. I would like to get the structure similar to the one displayed under the Portal Content on Content Administrator tab.
Any help / pointer / document / sample code will be highly appreciated.
Regards,
Neeraj

Hi  Gaumber ,
Create an Work set - > pack all the Iviews that's u r running  -> Assing that Role to the User .
I hope this the Way. Else Pack All the Wrksets into a Role,and assign that to user .
Rgds,
J

Similar Messages

  • How to get the whole list of Iview Templates

    Hi,
    when I navigate:
    Portal Content -> Content Provided by SAP -> Templates -> Iview Templates
    I get a long list of templates including Url Iviews etc
    But, when I try to create my own Iview, the list of potential templates is much smaller, mainly including only the SAP related templates, BSP, Query, ITS etc.
    Does anyone know how to make the full list of Iview Templates available for the Iview creation wizard ?
    Thanks,
    Tomas.

    Hi Tomas,
    which iView templates are offerd within the iView creation wizard is determined by SystemAdmin -- Permissions -- Portal Permissions -- Applications.
    Normally, you will have to have SuperAdminRole to see/change these settings.
    Hope it helps
    Detlev
    PS: Please consider to reward points for helpful answers. Thanks in advance!

  • Downloading the List of iViews in a Excel Sheet in Sorted Order.

    Hi
    I have a requirement of getting a list of all the iviews that are created in a excel sheet in a sorted manner.
    Can anyone help how to get a list in a excel sheet in a sorted manner..
    Regards
    JM

    Hi John,
    Here is the code to get the list of all iviews..
         List iviewslist = null;
                        try
                             Hashtable map = new Hashtable();
                             map.put(IPcdContext.SECURITY_PRINCIPAL,request.getUser());
                             map.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
                             map.put(Constants.REQUESTED_ASPECT,PcmConstants.ASPECT_SEMANTICS);
                             InitialContext ctx = null;
                             DirContext dirctx;
                            ctx = new InitialContext(map);
                             dirctx = (DirContext)ctx.lookup("pcd:portal_content/");
                             PcdSearchControls pcd_serachcontrol = new PcdSearchControls();
                             pcd_serachcontrol.setReturningObjFlag(false);
                             pcd_serachcontrol.setSearchScope(pcd_serachcontrol.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
                             dirctx.addToEnvironment(Constants.APPLY_ASPECT_TO_CONTEXTS,Constants.APPLY_ASPECT_TO_CONTEXTS);
                             NamingEnumeration ne = dirctx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",pcd_serachcontrol);
                             iviewslist = new ArrayList();
                             while(ne.hasMoreElements())
                                  IPcdSearchResult searchresult =(IPcdSearchResult)ne.next();
                                  String loc = "pcd:portal_content/"+searchresult.getName();
                                  iviewslist.add(loc);
                                 response.write(loc+"<br>");
                        catch (Exception e) {
                             response.write(e.toString());

  • How to retrieve list of iviews in a folder in pcd through webdynpro -- ASAP

    Hello,
    The requirement is to build an application in webdynpro which can retrieve the names of the iviews present in a specific folder.
    Can anyone help me out in this regard as to how to approach.
    Thanks
    *points are rewarded

    Hi,
    Here is the excellent document / blog written by one of my colleague. i hope with this you will solve you issues
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    oh... sorry.... but its not using Web dynpro.
    check this
    Retreive a list of workets, iViews, pages from Roles
    regards,
    Pradeep
    Edited by: pradeep bondla on Jul 15, 2008 6:52 AM

  • How can I generate portal report that give list of iviews-roles-users

    Hello,
    I need to generate a portal report that will list all roles and iviews that assigned to them.
    iviews can be assigned direclty or trough worksets/folders/pages.
    Is there a way I can create such a list? Is it requires development? If so, Is anybody already deveopled such a report and can share the code?
    Thanks
    Ami

    Hi Ami,
    I cannot assure that this can be achived with portal application. Coz we are trying to get iviews n role info assigned to users. i.e. Portal object info.which is not stored in d server as it appears to end users. it will be stored as PCD ID based., not name based.
    The requirement might need to develop Portal Applicaion at SAP NWDS but, i am not sure of displaying iviews. Also we can get the Role IDs of assigned role but not Role.
    http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/UMFactory.html
    Please follow UME API to achive this.
    IUserFactory userfactory =  UMFactory.getUserFactory();
    IRoleFactory rolefactory = UMFactory.getRoleFactory();
    IRoleSearchFilter rolefltr = rolefactory.getRoleSearchFilter();
    rolefltr.setMaxSearchResultSize(2000);
    ISearchResult result = rolefactory.searchRoles(rolefltr);
    while (result.hasNext())
      String uniqueid = (String) result.next();
      IRole role = rolefactory.getRole(uniqueid);
    The same thing can be applied to get users info i.e. Portal users list.
    Hope this helps you.
    Good Luck!
    Regards,
    Shaila

  • Need to get a list of iViews under a specific package folder

    Hi,
    I am working on EP 7.0 and NWDS 7.0 version 9.
    We have a requirement to fetch the names, descriptions, pcd paths of all iViews that exist under a specific folder in EP. This needs to be achieved in Web dynpro. I have searched the forum but everywhere it gives a solution to do it in dynpages. The dynpage code doesn't work in Web dynpro since i need to get request object in that code piece which is not available in web dynpro. Can someone please help me to achieve this in Webdynpro?
    or if someone can tell me how do i get request object in web dynpro so that i can do request.getUser() to get a IUserContext object which can later be used to set the principal and get the list.
    All help will be highly appreciated.
    Thanks,
    Prachi

    chk it
    Getting Request Object in WebDynpro

  • PAR file missing in PAR selection list during iView creation

    Hi Gurus
    I created a jsp file and exported it through NWDS export option. But i dont get this par while iView creation. Its present when i searched in the support desk . Can anybody tell me the steps how to create a simple jsp in NWDS and test the same in Potal as iViews.
    Thanks in advance

    Hi,
    Use NWDS wizards:
    1) File -> Mew Project -> Portal Application -> Create a Portal Application Project
    2) Right click on the project you created -> New -> Other -> Portal Application Project -> Create a new Portal Application Object
    3) Select Portal Component -> JSPDynPage
    4) Write your code ...
    5) Deploy the par file & create iview from it.
    Omri

  • List Additional iViews/Pages in EHP1.4 ESS/MSS

    We are planning to migrate our BP from ESS/MSS 600/603 to 633/630
    do we expect any changes in iviews/pages added in the content provided by sap for  ESS and MSS  BP?

    1450179 Note
    Check the note 1448100.
    ESS1.50 is WD ABAP
    Link to documentation:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/25/340b05074341
    93adbfe3f8fc8896c7/frameset.htm
    MSS 1.51 is WD JAVA based still
    Link to documentation:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/29/d78442056255
    51e10000000a1550b0/frameset.htm
    read here

  • List of all iviews assigned to a user

    Hi all,
    i need to display list of all iviews of a particular user in a dynpage.
    as we cant follow the typical role based approach, i need to list the links of all iviews which is user is allowed to access..
    help me with api's to do this.

    Hi,
       Check this link.
    Retreive a list of workets, iViews, pages from Roles
    Using this, you can get the assigned roles to that user. Do some more coding like this from the role list to get the iViews. For getting whole list of iViews, check this link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    May be you can try to compare from the whole list of iViews with the list which you get from the first link and then add those alone.
    Hope that will help you start the process.
    Regards,
    Harini S

  • Integrate a Web Module's JSP into an iView in NetWeaver CE 7.2

    Hi everybody,
    I am not sure whether this is the right spot to post this, but I will give it a try anyway.
    We want to develop an Enterprise Application containing a Web Module. Basically it is a Java EE application that has a business tier consisting of a couple of beans and business objects and a web tier consisting of JSPs and servlets. What I want to do is to integrate it into the portal content via an iView. We only use a web module in order to integrate servlets to handle AJAX requests made via javascript and because you can only make a servlet-mapping within the web.xml (as far as I know).
    Now I have created both the Enterprise Application Project as well as a Dynamic Web Project in the NWDS 7.2 according to the SAP manual. My servlet class as well as the beans are contained within the Dynamic Web Project's Java source folder. In the Web Content folder are the JSPs, css and javascript files. I deployed that application successfully via the NWDS and I can see under the application console of the NetWeaver Administrator that the application is deployed and alledgedly started, yet I cannot see it in the PCD. Therefore I cannot directly include it into a page and by that make it available to portal users. Also, I cannot access the application via the url http://<host>:<port>/<url as defined in application.xml>.
    How can this be done?
    Normally, I would do this by creating an iView from Template in the PCD's folder containing my designated page and role and adding it to the page as a deltalink. Yet when I try to do this, the portal offers me a long list of iView types, none of which seem to match my desire of matching a Web Module or Enterprise Application. Is that possible at all or what do I have to do to achieve this? I had no problem to integrate my application as a Portal Application, which is also deployed as an .ear, but that lacks the possibility to use servlets - at least from my understanding, since I cannot integrate a servlet-mapping into the portalapp.xml and there is no web.xml in a Portal Application.
    I have been trying this for two days now and didn't succeed. Is it possible at all, and if so, how? Any help is highly appreciated!
    Thanks in advance,
    Serg

    Hello,
    You can use the j2ee telnet console and using it you can deploy the files
    you can follow the example given in the note
    743630 - How to deploy libraries on J2EE Engine 6.20
    after ADD DEPLOY
    DEPLOY <filename>.SCA
    I hope this should work
    Regards,
    Chandru

  • API for getting iView name, type, tCode

    Hi
    I am trying to figure out if there is a way in my program to get iView properties: the iView type (e.g. transaction, Web Dynpro, etc), then if it's a transaction iView to get the tCode for that iView.
    I have seen document that tells me I can get the list of iViews in a given PCD location, and I think you can get the properties I mentioned above as such:
    // id is the full path of the iView
    public void getProperties(IPortalComponentRequest request , String id) throws Exception{
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    InitialContext iCtx = null;
    try {
    iCtx = new InitialContext(env);
    IiView result = (IiView) iCtx.lookup(id);
    result.getAttribute("????");
    result.getAttribute("????");
    } catch (Exception e) {
    throw new Exception (e);
    Am I in the right direction?
    I don't know what are the names of those attributes I need? - I cannot find them in any Java docs or forum?
    I also looked at com.sap.portal.pcm.attributes.IAttriView but that does not appear to have the suitable attributes that I am looking for?
    Please help.
    Kind regards,
    Sharath

    Hi
    Check theses links
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/bfb2a470033f45e10000000a114a6b/frameset.htm
    https://help.sap.com/javadocs/NW04S/current/index.html
    Hope this helps.
    Cheers-
    Pramod
    reward points if helpful.

  • Dynamic List in WPC didn't work

    Hi Experts
    I've created a new site in WPC and a few wpc-articles which a stored in a shared folder in KM. I've done the configuration for the dynamic List WPC-iView like sorting, number of articles etc. The start-folder is /documents/news BUT at runtime no items (articles) are displayed. The List is empty. I think it cannot be a permission thing because I'm logged in as super Admin.
    Thanks for helping
    Christian

    I've just been restoring the actual photos.  No library.
    When I look in the "pictures" folder, there is nothing. 0 mg
    Somehow iPhoto totally crashed and took all my photos with it. 
    You'd THINK they'd be SOMEWHERE on my computer, but I guess they are not. Makes me afraid to even use iPhoto anymore for my photos.  I've NEVER had this problem with iPhoto before.  Never.  And I've been using it for 6 years, thus 6 years of photos.  Sigh

  • Supported iViews in Web Page Composer

    Dear SDNites,
    We are planning to Web Page Composer at one of the client implementations. I wanted to know, is there any definite list of iviews supported with Web Page Composer.
    I tried to drop URL iView and WebDynpro iview but could not get them working within WPC framework.  Can you please guide me if I am missing any configuration or these iViews are not supported within WPC framework?
    Regards
    Pavan

    Hi Pavan,
    The place I could find today a reference about non supported iViews is in the [WPC Wiki|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer-FrequentlyAskedQuestions], under the section Functionality, and the link How does WPC integrate with the Portal Content Directory (PCD)?
    Hope this clarifies.
    Best Regards,
    Joseph

  • Iview Templeates are not dispaled?

    Hi Everone,
    I Am using SAP EP 7.0.
    I Want to create transaction iview in the portal.
    i go to portal content->select my folder->new ->iview->iviews->
    Now it is not displaying list of iview templates.
    how to get the list of iview templates.
    thanks
    subbarao chinta

    Check the below threads that may help you.
    No iView Templates Found in EP7 PCD
    iView templates are not available.
    Raghu

  • PLM iviews

    We are and FDA regulated company and as part of that we are required to store our operating procedures in a secure environment so they can not be changed without the proper authority.  But while they are stored there we need to be able to give access to people to read.  We recently implemented PLM and now I am looking for an iview (besides the search document transaction iview) that will let me display these procedures.  Will the PLM Business Package accomplish this, if so where can I find the download or does anyone have any ideas how to view specific numbered documents within PLM through EP.

    The business package should be listed on this website.  Go to downloads -> Portal Content Portfolio.  If there is a PLM Business package it will be there.  You can download it there too.  Probably the most important thing though is you also have the documentation there for the business package, including a list of iviews and what they do.
    Paul

Maybe you are looking for

  • Error in viewing logon page,inspite of restoring original par file

    Hi, I was trying to modify,the logon par file,because it was not getting deployed,it was becoming .err, I reverted back to the original logon par,and still even that gets deployed to .err. I renamed the original par,changed the reference in authschem

  • Downloading Video from a Canon Digtal Video Camcorder FS100 - flash camera

    I just purchased a Canon FS100 Digital Flash Camera from Best Buy. However, there is no software available that I can find to download the movies to my G4 and then edit and view them. I'm currently running a G4 Model Name: Power Mac G4 Model Identifi

  • Conversion of variable character error

    I use this statement within a query to  get a blank result with a WHEN/THEN statement but keep getting the following error message: " The conversion of a varchar data type to a datetime data type resulted in an out-of-range value." Below is the state

  • Invalid  URL on Education Version

    Photoshop Lightroom 4 Edu Version with s/n LTRMP6-4232-XXXX-XXXX-XXXX shall be activated via URL www.adobe.com/go/eduverify_de. wwhich is invalid. The Link is invalid/broken. The phone no. to be called is a privazte no. in UK. Adobe Support is not av

  • Only seeing one window in time machine

    When I enter time machine I only get the first window "now". Shouldn't I see something in the windows behind that? I've only had it running a few hours but I thought I would get to see the hourly back there or something?