Dynamic iView embedding

Hi EP Experts
I have several identical MDM iViews (4-6) that are different only in configuration (list of fields). Each such iView should be accessed by separate group of people only. Let say we also have set of portal roles and each iView is associated with a single role.
Keeping this in mind how I'd like to implement a page (workset) with a specific layout which will hold only one of the iViews depending on user role. How can I do this?
I mean that the page should determine somehow dynamically which iView should be embedded and shown inside depending on the user role. I do not want to create several pages (worksets) for each iView.
Is it possible to implement this?
Thanks a lot!
BR, Sergei

Hi,
refer the following link
http://help.sap.com/saphelp_nw04/Helpdata/EN/32/66c53e5ae84d3be10000000a11405a/content.htm
and for dynamic navigation
https://wiki.sdn.sap.com/wiki/display/EP/Portal%20Pages
and EPCF is for Client side eventing..
Regards
Manohar

Similar Messages

  • Portal dynamic iView from Web Dynpro ABAP?

    I wish to use a "Dynamic iView" from a Web Dynpro ABAP application, but it appears the API is only available in Web Dynpro Java.  Can this feature be used from Web Dynpro ABAP, or can this be accomplished in another way?
    Scenario: I have two iViews on a page, one Web Dynpro ABAP and another iView whose source I want to change dynamically based on something a user clicks in the Web Dynpro ABAP.
    Dynamic iView:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/a72c155df77038e10000000a422035/frameset.htm

    So you are suggesting the WDA fires an event to a new WDJ that we would need to create that would in turn use the Dynamic iView service mentioned in that help document?

  • Dynamic iView Display in a Page

    Hi Experts !
    Help me displaying an iView on portal page dynamically based upon an event from another iView on the same page. Where both the iViews are developed using Web Dynpro ABAP.
    -Kalyan.

    If you're using java (Dynpage or WedDynpro), you could access the PCD and modify the page where your iview belongs :
    you got the "base" iview visible, and all others iview are present, but set as invisible. Depending on the situation, your "base" iview can then modify the visibiliy of the others iview in the page. a link about it here : [Sap Library|http://help.sap.com/saphelp_nw04/helpdata/en/44/6aaf92f5a23672e10000000a114a6b/content.htm]
    Another possibility is to use eventing for the same effect, each iview waiting for a set of event, and displaying nothing if this is not the event that is supposed to make them appears.
    Regards
    Guillaume

  • Dynamic iView Creation

    Dear All,
    I need to stream the output of a custom JSP (output is HTML) to an iView created dynamically. I know how to create iView dynamically, but in this case, <b>I don't know which type of iView is to be created</b>. I do not know if we can stream the output of a JSP page to an iView, and if that is not possible, <b>please let me know if there is an alternate approach to the problem</b>. I would be grateful if you could share the code too.
    Kind regards,
    Sreejesh.

    Hi Sreejesh,
    Why not simply create a portal application with a component based on your JSP. See http://help.sap.com/saphelp_nw04/helpdata/en/18/66b742aec10b31e10000000a1550b0/frameset.htm for information on writing JSPs in portal applications (PARs).
    Then, when you create an iView dynamically, simply specify that you want to create the iView from a PAR, and specify the PAR and component. See http://help.sap.com/saphelp_nw04/helpdata/en/fd/ea5c42da4de92ce10000000a1550b0/frameset.htm for more information on this.
    Hope this helps.
    Daniel

  • AS3 dynamic font embedding bug

    Hi all,
    Is there a known bug for the following case?
    Case:
    A project I'm working on doesn't seem to handle font embedding correctly when the font is added dynamically using actionscript. When I test my movie it does not display the embedded font at all. Curious about this is, that when I create an empty project using the same code and then embed the font and test the movie it displays the font without any problem.
    Sometimes a reboot of the machine I'm working on will suffice to make the embedding work again, but sometimes is not all the time. So I was wondering if there was a memory related bug that causes this behavior. If so, is there any sight on a solution for this bug? It's more than annoying to reboot eight times a day, just to test a movie.
    How did I embed the font:
    1. Create a "New Font" in the Library, set the properties and give it a classname.
    2. Using actionscript to embed the font in a dynamically generated TextField.
    package{
    import flash.display.MovieClip;
    import flash.display.text.Font;
    import flash.display.text.TextFormat;
    import flash.display.text.TextField;
    public class MyClass extends MovieClip{
    var myFont:Font;
    var myTextFormat:TextFormat;
    var myTextField:TextField;
    public function MyClass():void{
    myFont = new Font1();
    myTextFormat = new TextFormat();
    myTextFormat.font = myFont.fontName;
    myTextField = new TextField();
    myTextField.defaultTextFormat = myTextFormat;
    myTextField.embedFonts = true;
    myTextField.text = "Lorem Ipsum...";
    addChild(myTextField);
    Cheers!
    Do

    I don't have Flash IDE on this machine so I cannot say for sure but try to register font:
    public function MyClass():void {
         Font.registerFont(Font1);
         myFont = new Font1();
         // the rest...

  • Dynamically change embedded interface view in window

    I have a Maincomponent M which embedds in its Mainwindow an interface view V_L from a component definition interface cid L. CID L handles the layout with several views and has two at runtime chosen variants (= cid_L-implementating components ) L1 and L2.
    now my wd-application starts e.g. with layout L1 and I want to switch at runtime via a button or an event to L2. how can I achieve this?
    Because M embedds in its window V_L (which can be filled by L1 or L2) I tried to delete the component in the usage of L1 and create the new component for showing L2.
    but this doesn´t work. should I change some navigation links dynamically? because I thought when I create component L2 the interfaceview V_L is filled and I it´s automatically shown in its higher-ranking Mainwindow from M which embedds V_L.

    Hi Thorsten.
    Is your scenarion as follows.
    You define an outbound plug in your main (e.g. 'OUT') at design time.
    Then you start the application and you create a dynmic navigation using OUT
    to L1 and embedd L1 in M this way.
    Then you click a button and create again a dynamic navigation using OUT as outbound to L2 and embedd L2 in M?
    If so you create 2 navigations which will be triggered when you fire OUT.
    You can test this by setting the break point on the fire method. Somehow you will come to a point where you will see a table which stores the navigations and should contain 2.
    I have a table with authorisation which contains all necessary data for the navigation to a corresponding component. I use the authoridation ID as name for the outbound which have to be created dynamically. And I use a Hashtable to store the value. This is of the type CL_C2S_SAPI_HASHTABLE. I create the object as attribute in view controller. Then each time a link is clicked I check whether the hashtable already contains a value for this authorisation. If not I call
    prepare_dynamic_navigation and use the ID as outbound. Afterwards I store it in th hashtable.
    lv_outplug = wd_this->outbound_plugs->getvalue( lv_auth ).
    *   the navigation to the specified auth is performed
    *   for the first time and have to be created.
        if lv_outplug is initial.
          lv_outplug = lv_auth.
          try.
              l_view_controller_api->PREPARE_DYNAMIC_NAVIGATION(
                  source_window_name          = 'W_MAIN'
                  source_vusage_name          = 'V_MAIN_USAGE_1'
                  source_plug_name            = lv_outplug
                  target_component_name       = lv_comp
                  target_component_usage      = 'USED_COMPONENT'
                  target_view_name            = 'W_MAIN'
                  target_plug_name            = lv_plug
                  target_embedding_position   = 'V_MAIN/UI_COMP_CONTAINER' ).
    *         save outbound_plug for later usage.
              wd_this->outbound_plugs->setvalue(
               exporting
                 name = lv_auth
                 value = lv_outplug
            catch cx_wd_runtime_repository into lr_exception.
              data s type string.
              s = lr_exception->get_text( ).
              raise exception type cx_wdr_rt_exception.
          endtry.
        endif.
        l_view_controller_api->fire_plug(
         exporting
           plug_name = lv_outplug
    Hope this helps.
    Cheers,
    Sascha

  • Adobe Media Encoder CC Fails To Dynamically Link Embedded AE Comps Within PR.

    When launching a PR project in Media Encoder to kick off a render.  The dynamic link engine loads the PR sequence just fine but during the render it fails to read any clips that were "relaced with AE comp", instead inserting an "offline media" plate.  Launching the PR project and reviewing as well as rendering from within PR works fine.  Please note that this worked fine in Adobe Media Encoder CS6.
    *****Edit
    In doing some tests to consistently replicate the problem, it turns out that AE CC has to be open WITH the replaced clip comps loaded at the time PR OR Media Encoder is running with projects that contain the "replaced with AE comps" footage.  Repeating the test with AE CC closed at the time yields the "offline media" result.  This is definitely a bug I'd say.  AE should not have to be launched with the project files loaded up in order for any dynamically linked comps to work.
    ****Edit 
    Please note the entire product chain is CC.  Thank you.

    Update.....
    Problem solved.
    It turns out that any dynamically linked CC apps must be run by the same user on the same machine in order to work properly.  In this case, PR and AME were being run as a standard user on the workstation while AE was being run as administrator via the shortcut launch properties.  The latter being necessary to have certain plugins function properly in AE CC.  Modifying the AE shortcut to not run as administrator resolves dynamic linking issues.
    Although it can be argued that logically all Adobe apps should be run by the "same user" on the workstation, it would be nice for the dynamic link engine to be more "real world" about linking projects on the same workstation in the case where a particular resource needs to be launched as an administrator.  Security considerations in towe, this ain't top secret government or banking data risk management folks.  Lighten up.  Maybe a little warning box that pops up and says "such and such needs to be run as administrator....do you allow?".....after all this is EXACTLY what the OS does anyway when you launch as anyone other than the administrator from a shortcut.  Quite reasonable for you (Adobe) to simply cascade the behavior.

  • Dynamic iView-Title in tray

    Hi everybody.
    We are currently implementing some sort of management informations system on our portal. One information that should be available is the companies liquidity. We would like to name the iView as "Liquidity for DD.MM.YYYY" - Is there any possiblity we can pass a date-parameter into the iview titel? We would like to avoid programming if possible.
    thanks für any hint
    Regards Alex

    Hai Chinmaya,
    The option which you told, I have already done for a roles which has some 30 application. The roles which i  upload from SAP R/3 will have around 100 programs. Like this I have to be upload many roles. So Its time consuming process to open all the roles and change the property of each Iview one by one.
    Hai Harini,
    I kept your option as the last once. Since I don't want to modify Page Title Bar. I was looking whether this can be achieved through configuration.
    I have another idea, but don't know where to change this.
    When I upload a role from SAP R/3 it creates Iview in portal, this Iview should be based on a template Iview which in portal. If I change the property of this template Iview, this is applicable to all Iview which is created in the system. But I don't know which Iview I should look for.
    Regards,
    Harini S

  • How to use dynamic loaded embeded font?

    I have loaded fonts.swf on startup. I don't use TextLayout
    Embeded fonts feature. Then i have loaded some xml and assign xml
    to TextLayout. How I can use loaded font for display?

    Are you using Flash CS4 or Flex?
    Check out the following blog post, it contains instructions
    for font embedding that may help you out:
    Embedded
    Font Subsetting Using DefineFont4

  • Dynamic IView displaying using Table

    Hi
    I hava a web dynpro application .  In which i have
    a table with 2 columns.
    when i am selecting a row in the table it should
    display different Iviews depending on the column values.
    replay ASAP

    Hi,
    Use WDPortalNavigation.navigateAbsolute() or WDPortalNavigation.navigateRelative() method
    to navigate to your respective iView.
    Check out these link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
    Check out the API help in your NW Developer Studio
    Help->SAP NWDS Doc->SAP WAS for java Applns->API WAS->
    com.sap.tc.webdynpro.clientserver.navigation.api
    Retrieve the column value as described by Rohit and use
    it in the methods in WDPortalNavigation.
    Thanks
    Senthil
    P.S: Reward Points for useful answers

  • Role with dynamic iview assignment depending on users

    Hi All,
    We have a situation here for BI reports. Let me explain in detail.
    We have Home role common for every user in portal having home page. Home page contains VC BI iviews.
    Now our requirement is that the role should remain the same but the VC iview should change depending on the user.
    For example.
    User A has home role      should see VC BI iview1
    User B has home role      should see VC BI iview2
    Please guide us how to achieve this.
    Regards,
    Bharat Mistry.
    Edited by: Bharat Mistry on Dec 24, 2007 10:53 AM

    Hi Bharat,
    You can refer to this [link|http://help.sap.com/saphelp_nw70/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm] for detail.
    Also this [thread|Re: Controlling visibility of Second Level navigation tabs in portal;.
    Regards,
    Ami

  • Dynamic Font Embedding

    My goal is to let the user of my flex/air application choose one of their system fonts from a drop down and then format text on the screen using that font.  The dropdown is built but I can't get it to change the font of the textbox and the font must be embedded in order for the rotate method to work properly on the textbox.  I get the following errors:
    "unable to resolve myvarrocks for transcoding"
    "Unable to transcode myvarrocks"
    Here is the code I was attempting to run.
    [Embed(source=myvarrocks,fontName="EmbedMyFont",mimeType="application/x-font")]
    Is there any way to do what I am attempting?   Thanks!
    varEmbedMyFont:Class;
    varEmbedMyFont:Class;
    Is there any way to do what I am attempting?   Thanks!

    In FP10, you can get reasonable rendering of rotated device fonts.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Embedded Dynamic forms and 2D Barcode.

    The forms that we have developed so far have various dynamic forms embedded which do not work with 2D Barcode.  What alternative designs can we use to achieve similar results? What are design considerations that we should be aware of?
    We have LC ES 8.2, Adobe Acrobat 9.0 and Barcoded Paper Forms 8.0.

    Thank you Lee,
    We will most likely have multiple barcodes for each form. 
    Are there any major design considerations that we should be aware of for the placement of these barcodes on the form when linking them together in order to facilitate?
    What happens with the barcodes when you have one form with few dynamic subforms?
    Regards

  • Show in a Iview all documents of an user of the whole portal

    Hello everybody,
    I want to show in an Iview all documents of an user of the whole portal, not only the documents under his folder /userhome/Personal Documents
    Any ideas?
    Thanks in advance
    Guillermo.

    ... and of course I have to add that this can be done with very few programming (but with that - with much more possibilities) by using a redirect "proxy iView", which is described in detail (and is taking just this scenario as one use case among others) on the slides of my TechEd presentation "Implementing Dynamic iView Properties", at least available for TechEd visitors now.
    On the other hand, searching for "proxy iView" on SDN will return different results where at least I have described the basic idea.
    Hope it helps, too,
    Detlev

  • Photo iView in another iView

    Hi all!
    We have a problem showing photos of employees in a home made CV iView. The pictures are currently stored using standard document handling in SAP so there are standard procedures to "retrieve" the pictures. There is an iView called "Photo", in mss package: com.sap.pct.hcm.eeprofilephoto.par, and this iView does nothing else but showing a photo. Is there a possibility to place this iView embedded/within another iView like our home made one? It can't be placed outside the CV iView on a page since it doesn't give the correct layout for printing the CV.
    A great thanks in advance!
    Best regards
    Benny Lange

    Thanks a lot for this idea!
    But I'm having some problems: I don't recognice the different headers straight of. I find "Support" on top bar, under this one I find "Support desk". On this page I can find "Portal Java runtime" but not "Portal runtime" but I suspect this is just another name. Now I'm stuck though. I can't find any place here to download the par-file you mentioned.
    What I did find by going into "Browse deployment" and then going all the way down to "ROOT/WEB-INF/plugins/portal/lib" was a file called "prtlayout.jar". Could this be the file you are talking about? Perhaps I should mention that I'm working in EP5 and this might be the cause of the differences in headers and location of different things.
    Best regards
    Benny

Maybe you are looking for

  • ITunes won't initiate and a warning comes up

    I keep getting this message every times I try to initiate my iTunes program.   "The iTunes Library file cannot be found or created.  The default location for this file is in the itunes folder in the music folder.  I've re downloaded Itunes and I stil

  • Tab Content Height

    I have a spry tabbed panel on my site with four tabs. The first tab has a little content, the second tab has a little more, the third panel has a little content and the fourth panel has a LOT of content. The problem is that when you are on tab 1 by d

  • Anything over 20mb won't covert from PDF to WORD, I just get an error message..why?

    Any document over 20mb won't convert from PDF to word, I just get an error message...why?  Anything smaller I have no problem at all.

  • Multiple hierarchy selection option - OBIEE Answers

    Hi, I have created an alternate drill path. I want the user to choose - which hierarchy the user wants to drill to eg: Total --------------------------Country ---------------------------------------Region ---------------------------------------------

  • Shared database server

    When architecting the EP 6.0 many months back I came across some documentation stating we should use a separate Database server for our portal environment.  Now I am looking for this documentation again but I can not find it.  Has anyone heard of suc