Dynamic Picklist content.

Hi all, I would like to have the content of a pick list controlled by the active Page Layout for an object. E.g.
When Role 1 opens the object the field 1 pick list should have values A and B.
When Role 2 opens the object the field 1 pick list should have values C and D.
Is this possible and how?
I was thinking of cascading pick lists but I don't want the user to have to select the parent value. This should be pre selected by the role accessing the object and I guess this could be done in the object page layout connected to the role accessing the object.

Well we have implemented the below requirement as follows in our project:
We have a read-only custom picklist field 'Role' . The values of the picklist are Role 1 and Role 2. The validation on this field = Jobtitle(). While creating the User, we mention the Job Title same as Ondemand Role.
Now we have created Cascading picklist between Read-only field 'Role' and Action picklist (having values A,B,C,D).
Hope this helps.
Sandy

Similar Messages

  • Dynamically Updating Content Server Portlets

    [urlHi, I am currently having difficulty dynamically updating content server portlets.  I have a portlet of the following form:[/url]
    ArticleName Author Title Date mystory author1 title1 04/05/01
    story2 author2 title2 06/07/04
    story author3 title3 01/02/03
    So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
    I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
    First Problem: Passing Information
    I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
    I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
    I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
    Second Problem: Dynamically Updating PCS Tags
    Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
    My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
    Thanks a lot,
    Jason Grauel

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • Read Dynamic Selection contents of a Variant for QE51N

    Hi Folks,
    Need your help here !
    In my report, I wish to read the Variants along with their contents created for transaction QE51N.
    I tried using function module RS_VARIANT_CONTENTS and its working good, but not to my requirements. The function module returns only the selection screen contents of a given variant. It does not return the contents in 'Dynamic Selection' (Free Selection).
    I read somewhere that the function module returns dynamic selection contents only if the report use Logical Database. To my understanding, the program for QE51N (SAPLQEES) do not use LDB.
    So is there any way by which I can get dynamic selection contents of a variant?
    Any suggestions / pointers would be a great help.
    Thank you.
    Regards,
    Sud.

    Hi,
    Did you find somethings? I have the same issue.
    I would like to add some new fields on Dynamic Selection screen of QE51N.
    Thanks in advance.
    KR,
    Arnaud

  • Dynamic web content base on 9i/10g database

    dear all,
    i need to find sample of build dynamic web content base on
    9i/10g database. i remember otn have a sample for dynamic
    web content. but not found in sample code at otn now.
    who can tell me where can find it ?
    best regards
    boris

    See the last section of this link. You will get version specific information.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1013164

  • Dynamic generated content

    hello can somebody help me with adobe air + html how to make
    link to open in system external web browser in dynamic generated
    content?

    window.runtime.flash.net.navigateToURL(new
    window.runtime.flash.net.URLRequest("path to a file where you wrote
    dynamic content"))

  • Dynamic TabbedPanels  Content

    Hello,
    Can uuuuuuuuuuuuuuuuuuuuu helpppppp mmmmmmmmmeeeeee
    pleeeeeeeaassssssssssseeeeee ?
    I want to make my TabbedPanels dynamically.
    For example after every 3 seconds the tab and the
    TabbedPanelsContent changes automatically. It's the same principle
    of the Gallery.
    Is there a solution ?
    Thank u very much.

    Alderaan,
    Have you looked at Content Areas? They would be good for self service management of content.
    Have you looked at some of the content providers for Oracle9iAS Portal? They have dynamic data content portlets available. http://www.oracle.com/portals/partners.
    Rich

  • Help! dynamic page content - how to handle?

    Hi !
    How do I handle dynamic page content, where for example my jsp page does a post and updates some data, and I dont want the user to use "back" button to go back onto it.
    Hints appreciated
    Cheers
    Steve

    Yes, you can create links for columns in the sql query of a portal report using htf.anchor/htf.anchor2 or just put in your own html code between single quotes. See the [PL/SQL Web Toolkit|http://download-west.oracle.com/docs/cd/B14099_10/web.1012/b15896/toc.htm] for info on the HTF package. There is also a portal Link component which can be created separately and then selected for use on a column in a portal report.

  • Dynamic Picklist in a switcher

    Hi
    I have a requirement as follows:
    Populate picklist in a Switcher:
    <oa:table id="CompTable" shortDesc="Competencies" width="100%">
    <ui:contents>
    <oa:switcher id="GlobalYesNoSwitch" prompt="Proficiency Rating" viewName="CompetenceElementsVO" viewAttr="GlobalYesNo1">
    <ui:case name="N">
    <oa:messageChoice id="ProficiencyLevel1" use="/oracle/apps/per/attributesets/PerRatingLevels/Name_ProfRating" viewName="CompetenceElementsVO" viewAttr="ProficiencyLevelId" pickListDispAttr="LevelAndName"
    pickListViewDef="oracle.apps.per.picklist.server.CompRatingLevelsVO" pickListValAttr="RatingLevelId" rendered="true"/>
    </ui:case>
    <ui:case name="Y">
    <oa:messageCheckBox id="ProficiencyLevelChkBox" serverUnvalidated="true" selectiveSearchCriteria="false" checkedValue="1" unCheckedValue="2" viewAttr="ProficiencyLevelId" viewName="CompetenceElementsVO" tipType="none"/>
    </ui:case>
    </oa:switcher>
    </ui:contents>
    </oa:table>
    Here I want to make the Picklist VO to be dynamic. The Picklist VO has a parameter of CompetenceId. I know how to initialize this in an Advanced table without switcher. My requirement is to make the picklist VO in a switcher to be dynamic. out of switcher, I can populate the VO using the following code:
    OATableBean compTable =
    (OATableBean)webBean.findIndexedChildRecursive("CompTable");
    OAMessageChoiceBean m1 =
    (OAMessageChoiceBean)compTable.findChildRecursive("ProficiencyLevel");
    m1.setListVOBoundTableColumn(0, compTable, "CompetenceId");
    But in case of switcher, I am not able to proceed. There could be a way to initialize the VO similar to the above method. Any help would be greatly appriciated.
    Thanks
    Ahmed

    I have found the solution myself. There was an Oracle Bug 3438062 associated with this problem. The solution is as follows:
    Summary
    - Description
    when switcher is inside AT, getIndexedChildRecursive wouldn't return
    the bean.
    - Resolution
    We need to use findChildRecursive instead.
    Happy learning...
    Thanks
    Ahmed

  • Dynamic picklist in a table in oaf

    Hi,
    In my custom page, i need to populate columns based on picklist selected column.
    How to achive this. Picklist contains 2 values. 1.yes 2.no
    if (yes)
    populate the next 2 columns with default values. else it should be blank. Every row should be populated dynamically with picklist selected value.
    Help regard this,
    Thank you

    Hi,
    Please use the following code as mentioned in the DEV guide to enable the poplist column in the table to have different values for each row.
    For example, the first column shows department number and the second column shows a poplist of employees belonging to that department, in this case ,
    for the poplist I will have to pass a bind variable (:deptNo),
    so in the controller ,
    OATableBean table = ...
    OAMessageChoiceBean empPoplist =
    (OAMessageChoiceBean)table.findChildRecursive("EmpName");empPoplist.setListVOBoundContainerColumn(0, /* bind index */
    table,"Deptno");
    '0' indicates that the first index of the poplist query , Deptno indicates the column ID of the Department column.
    Regards,
    Guru Krishnan V.

  • Dynamic HTML Content in iFrames of a BSP application

    Hey Folks,
    I am currently having to build a context sensitive URL, which is built dynamically and accordingly load the page within a given view during runtime. The URL points to a simple HTML page.
    The application whcih is embedded in the view is a BSP application. The BSP application comprises of an iFrame which should hold the value of the URL built, within the attribute "src". Is there a way in which the value of this attribute "src" of the tag "iframe" can be populated during runtime for BSP applications?
    Please do let me know of your thoughts on this.
    Thanks and Best Regards,
    Puja.

    @Rodrigo,
    Did you make sure you have included the end tag </iframe>? am not sure about this, but maybe you would need to include the htmlb page extension too?
    <%@ extension name="htmlb" prefix="htmlb"%>
    @Others,
    My problem is that the BSP in question has been generated by a framework, the content of which i need to tweak programatically.
    I forgot to make a mention of the crutial aspect that, the Page Type of my BSP application is 'View'. I could have used the oninitialization event to my convinience , had the page type of the application been 'Page with Flow Logic'. I do not have the various event processing options such as 'onInputProcessing' or 'OnInitialization' or 'OnLayout' here which I can work upon.
    Has any body worked with BSPs of type 'View'. Any help would be much appreciated.
    Thanks and Best Regards,
    Puja.

  • Print Specific Frames and Dynamic XML content

    Hello, I am trying to print specific frames of my Flash movie
    with the dynamic text loaded from an XML file. The code below only
    prints the current frame I am on and does not print the XML text.
    The dataOK that is commented out is a function I have before that
    loads the XML content. The XML content is loaded to dynamic text
    boxes. Any help on this would be greatly appreciated.

    I am still having difficulty loading the XML data and the
    frameNum parameter does not seem to work. Argghhhh....
    function printTut(myevent:MouseEvent):void{
    var myPrintJob:PrintJob = new PrintJob();
    var mySprite:Sprite = new Sprite();
    var printArea:Rectangle = null;
    var options:PrintJobOptions = null;
    var frameNum:int = 2;
    mySprite.addChild(stage);
    mySprite.rotation=90;
    mySprite.scaleY=.80;
    mySprite.scaleX=.80;
    myPrintJob.start();
    myPrintJob.addPage(mySprite,printArea,options,frameNum);
    myPrintJob.send();
    print_btn.addEventListener(MouseEvent.CLICK,printTut);

  • Dynamic html content in a movie?

    Hi,
    Can someone tell me if it's possible to dynamically load a
    HTML file into a flash movie without opening the content
    into a separate browser window? i.e. Load the HTML into a
    container in the movie window itself. The actual HTML file name
    itself could be hardcoded in the movie if that helps...
    I'm totally new to Flash and Action Script but am a
    developer, so will understand if you can even just point me to an
    API.
    Thanks in advance.
    Brian

    No. You would have to parse the html using the xml class (for
    instance). Or use an extension (search for tablemaker) that does
    the parsing (with restrictions like content can only be in one
    table). By itself Flash only supports a small subset of the html
    tags. You could use an IFrame but that is pretty much asking for
    trouble. And, Flash isn't a browser...

  • Dynamically load content into a "template" swf from text file

    I have a dream....
    Well, I have a concept. I have not actively pursued Flash in
    several years, though I've continued to have it in my arsenal. I've
    not done much in the action scripting realm for a while though.
    I am trying to create a template that will be used for about
    100 different product pages.
    It would have two tabs, basically, 2 different graphical
    button sets. One will have up to 4 links to similar products, each
    tab will be on the side of a square, and I need the ability to not
    display a tab if there is no actual link.
    As for the other tab, Its a menu that consists of a series of
    lines. This can be an external menu, I just need a way to have
    flash load the right menu. This menu, when you mouse over a line,
    the name of the product appears, as well as a product image that
    gets loaded with the menu. The product images would be external,
    allowing me to simply replace an image if a new higher end version
    of the product comes out.
    So, I am totally not an actionscripter. Looks like I need to
    load variables from an external file. Can I set a property in the
    flash code on the html that tells the movie what dataset to grab
    from?
    Here's basically what I am looking for
    property: value
    (load variables for:)
    item: 44
    (menu1)
    faster: 54b.html
    slower: 34d.html
    left: 43d.html
    right: 45c.html
    (menu2)
    menu:graph5.swf
    (menu loads images from external source)
    link51: 51d.html
    link52: 52c.html
    link53: 53c.html
    link54: 54d.html
    link55: 55b.html
    link56: 56d.html
    A possible third menu would be text driven, and would use
    html to link to various items.
    This is a static site, so urls will be fixed.
    Is it best to build a php page that serves up data for a
    single item, or do one big text file with all 100 or so items? Is
    that even possible?
    My Flash since MX is very rusty. I am using Flash Pro8. I
    would love to create a single file so modifications are to the text
    files, unless a new item is released, then it's updating a single
    flash menu and updating the text file.
    Been spending way too much time in InDesign lately! I used to
    be pretty good at Flash!

    well sorry there fanmap - but I don't think you're going to
    be able to get this to work. here's why: the link points to a php
    file - which gathers dynamic info from a DB - the return from the
    php is generating a string that is based on the DOM and
    'constructs' a javascript method that in turn writes to the html
    document. although we can embed html into a textField in Flash
    there are a limited number of supported html tags - and JS methods
    will not operate internally. in addition, (i'm not certain someone
    correct this if i'm off) there's no way to 'change' the output of
    the php call, therefore you will not be able to read the return
    because it is designed to use the DOM and write solely to the
    current document. Even if you were to access the JS method from the
    swf file (which one can) it will still only write the content of
    the php return to the html document - and the output is not
    compatible with the textField class.

  • Dynamically adding content

    I maintain about 6 webpages for my church and updating has
    become quite burdensome. Can someone point me in the right
    direction or give me the instructions to add dynamic content to my
    webpages. What i'd like to do is have various people able to edit
    certain text fields on teh page and it update to the page
    automatically so that I do not get stuck always having to update
    pages. I know this can be done, and is probably not too difficult
    but I can't seem to find a good tutorial anywhere. Any help is
    appreciated. Thanks.

    Maybe try Contribute....
    Dan
    fbcojman wrote:
    > I maintain about 6 webpages for my church and updating
    has become quite
    > burdensome. Can someone point me in the right direction
    or give me the
    > instructions to add dynamic content to my webpages. What
    i'd like to do is
    > have various people able to edit certain text fields on
    teh page and it update
    > to the page automatically so that I do not get stuck
    always having to update
    > pages. I know this can be done, and is probably not too
    difficult but I can't
    > seem to find a good tutorial anywhere. Any help is
    appreciated. Thanks.
    >

  • Dynamically load content by date using xml

    i would like to load content by date using xml. meaning if i
    have 5 upcoming social events listed, i want them to dynamically
    drop off from my webpage as the event date passes. i would like to
    use the built in spry xml dataset functionality, but don't have to.
    i can't seem to find a way to get the server date and then compare
    it to a date in a xml node. this seems simple, but i can't seem to
    find a tutorial that does not get crazy with all kinds of
    code.

    Have the column headings (which the user clicks to sort by
    that column) as
    links back to the main page, with the sort as a url parameter
    eg
    www.mysite.com/mypage.php?sort=name
    www.mysite.com/mypage.php?sort=date
    etc
    Then in your recordset, change the code from
    $sql = "SELECT * FROM table ";
    to
    switch($_GET['sort']){
    case "date":
    $sql = "SELECT * FROM table ORDER BY date DESC";
    break;
    case "name":
    $sql = "SELECT * FROM table ORDER BY name DESC";
    break;
    You`ll need to change the above to suit your needs obviously,
    but the above
    shows the principles that you need to use.
    So you use the same page for each sort, but the SQL to
    retrieve the records
    in the order you want changes dynamically.
    Gareth
    http://www.phploginsuite.co.uk/
    PHP Login Suite V2 - 34 Server Behaviors to build a complete
    Login system.

Maybe you are looking for

  • Question about DTR...Wait Online~~~~~~~~~

    In Netweaver2004S,I log on SLD as NWDI_ADM,when I create SC upon the System,From the SC details page of the SC created above, define usage dependencies,the Context is null.(the Was Server is 2004S SR2) IS the other SCs needed to develop CAF and GP ap

  • Netbeans to J2SE

    Hi Im currently trying to convert a line of code from netbeans to J2SE - jbuilder 9. When the below source code is added to my jbuilder enviroment, it gets all excited when (Grouplayout) is inlcuded. The error that this returns is - package org.jdesk

  • Password to install Adobe Reader

    Hi, I am trying to install Adobe Reader to my Macbook Air, and during the process, this appeared: Install Adobe Reader wants to make changes. Type your password to allow this." I tried my Adobe account pw, it didn't work. Tried my Apple pw, didn't wo

  • LINUX commands for navigating Oracle_Database configuration assistant?

    I'm very new to the linux scene, but I'm very familiar with the NT Oracle side. I'm having trouble navigating around LInux looking for the commands to run Oracle. If anyone has any pointers on particulars I'd appreciate it. But to start, can someone

  • Array in deascending order

    Hello ... if I have the following array: static float [] in1 = { 0,0,0,80,0,0,100,0,0,90,0,0,70,60}; first I want to sort it so I will have as the following array {100,90,80,70,60,0,0,0,0,0,0,0,0,0} Then I want an array of the positions of the first