FR Change text value based on another member

Hi,
I using FR 11.1.1.3
I'm trying to change the value of a data cell based on the value of the time dimension, so below is what I'm trying to do
Change value to Quarter1 - 2012 if current point of view for time2 is Quarter1 and Current Year is 2012
Change value to Quarter2 - Current Year if current point of view for time is Quarter2
and so on
Quarter1 and Current Year are coming from different dimensions.
Please let me know if this is possible to do in FR
I can easily do this in IR.
Thanks

Hi VS
No problem it is always a bit open to interpretation when someone posts in these forums :-)
So it sounds like you want to use Text based headings rather than data. Have you looked at the text functions rather than tring to do this with formulas. i think you might have more success using text rows and referencing the rows containing the member names, e.g. if you have two dimensions Period and Year (both in rows) then make use of the following function:
Generic syntax:
<<MemberName("GridName", Row/Col/Page, "DimName")>>
Example:
<<MemberName("Grid1)", 2, "Period")>> - <<MemberName("Grid1)", 2, "Year")>>
should return the name of the member from the Period dimension from row 2 and the member of the Year dimension from row 2, e.g. Qtr1 - FY12
There is a practically identical function MemberAlias too if it is the alias you want rather than the member name. Have a look in FR studio by inserting a text row / column and then trying to insert function. There are also 2 that you can use that are no longer show in FR studio or the studio user guide but do work (or at least did up until v11.1.1.x) and that is POVMember/POVName (can't remember now!) and POVAlias used to get the member/alias from the POV for a partcular dimension, syntax for that is:
<<POVAlias("Grid1", "DimName")>>
Hope this helps
Stuart

Similar Messages

  • Change column value based on another

    Hi, everyone.
    my version 11.1.2.2.0.
    i wanna change 1 column's value based on another column's value that be selected.
    ex: select 2rd column to 'A' , then the 1rd should be 'New Start'.
    i used EL like #{row.bindings.MacdType.inputValue eq 1 ? 'New Start' :  row.bindings.CircuitId.inputValue}.
    But it does not set the inputvalue which should binding with the DataSource.
    what's the best way to do these logic?
    pls help. thx

    Hi,Abhijit;
    ex: the frist column is a LOV, the user select "A" for the first column, so the value of the second column should be changed to 'New Start'.
    And the value should be binding to the DC, when save, the value of the 2rd column should be saved to DB.
    thx

  • Changing a field based on another field

    hi one and all
    i am looking for a way to change a field based on another field. if i have item 2 and item 8 on the page and item 8 needs to be required based on item 2 based on a requirement, how would this be done.
    ex if item 2 has a PO inputed, when it is moved off the field, item 8 should be changed from required false to required true. i have tried in both the process request and process form request with no luck
    any suggestions.
    thanks

    hello again
    after your input and after reviewing the tutorial ( which i accomplished based on data from a table but not a field ) , i did the following and have been fighting it for a day. am i doing this correctly
    on the itemid OrgRptCode1 i changed the action type to firePartialAction and the event is name o1
    then i added this code to see if the action would fire
    if (pageContext.getParameter("OrgRptCode1") !=null) // either line will be commented out
    if (pageContext.getParameter("o1") !=null) // either line will be commented out
    System.out.println("Field is not empty");
    else
    System.out.println("Field is empty");
    am i missing a step . also
    when i enter the page i get Field is empty. when i enter the field and tab off i get the error page w/ this msg
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1294)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2396)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processFormRequest(manageOrgCO.java:289)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processFormRequest(manageOrgCO.java:289)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • How to use SQL import to set the attribute value based on another?

    Hello all,
    I want to set an attribute of a dimension based on another attribute (if matches). Let's say I have a dimension PRODUCT. And I have defined two user defined attributes MANAGER and ISVISIBLE.
    Now within a PERMIT_READ program I want to set the ISIVISIBLE to true where the MANAGER Value is selected from a table.
    Something like
    <define a cursor c1 to select all the Manager values>
    sql import c1 into -
    :MATCHSKIPERR PRODUCT_MANAGER then <PRODUCT_ISVISIBLE (PRODUCT MANAGER) = true>
    <etc>
    Obviously the above is not correct. But I am stuck as to how this can be done? Can some one on this forum please help me with correct syntax/ approach please?
    Thanks a lot.
    Pxsheth
    This statement assigns true to the isvisible attribute for every gc_dim_bu dimension (selected as part of cursor c1).
    SO FAR SO GOOD.. NOW -
    If I want to change the above so that the attribute value gets assigned based on another attribute for the dimension (say a flag). i.e.
    Set the isvisible to true where attribute flag has a certain value. How do I code this in OLAP DML?

    There are a number of ways to do this. If you want to use an attribute that has been defined within AWM as an attribute of Product then simply using the mapping tool to populate the attribute as part of the normal dimension load procedure.
    Alternatively you could create an attribute at the DML level, and assuming you are not using surrogate keys, you can then define a cursor to read the relational table to populate your attribute. Something like this:
    sql declare MKT_BASKET cursor for -
    select PRODUCT_ID, PROD_MGR , PROD_VISIBLE -
    from PRODUCT_DIM
    if SQLCODE ne 0
    then goto ERROR
    sql open MY_CURSOR
    sql fetch MY-CURSOR loop into :append PRODUCT, :PRODUCT_MANAGER, :PRODUCT_ISVISIBLE
    sql close MY_CURSOR
    sql cleanup
    update
    commit
    If you want to create a complex PERMIT function using OLAP DML then personally I would create a formula and assign a program of type BOOLEAN and have the program return a YES or NO depending on the outcome of your test. Then your PERMIT_READ still references a dimension object. For example:
    DEFINE PROD.ISVISIBLE BOOLEAN FORMULA <PRODUCT>
    EQ PRG.ISVISIBLE(PRODUCT)
    DEFINE PRG.ISVISBLE PROGRAM BOOLEAN
    The program will then return Yes or No depending on the processing you need to do.
    Hope this helps
    Keith Laker
    Data Warehouse Solution Architect
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Filter EPM Property values based on another property in same dimension

    Hi,
    I need to restrict property values of a Dimension based on selected value of another property of the same dimension.
    For example, in Material Dimension, I have properties Planner and LOB
    Material
    Planner
    LOB
    100
    ABC
    LOB1
    200
    ABC
    LOB1
    300
    XYZ
    LOB2
    The Planner will select a Planner Name, based on which the corresponding list of materials should be shown along with LOB.
    I have tried EPMDimensionPropertyValues but it doesnt allow to restrict the IDs based on another filter condition.
    Please help.

    Thanks everyone for the response.
    As mentioned in the post, the requirement is a bit twisted.
    Let me rephrase the requirement:
    I need to have two dropdowns ( which should act as filters to the template).
    MATERIAL diemnsion has a property PLANNER.
    I need to have the first drop down as list of all PLANNERS ( I could do this easily by EPMDimensionPropertyValues).
    For the next dropdown, I need to show only those MATERIALS which has PLANNER1 ( lets say, PLANNER1 was selected in the first dropdown).
    I am facing issues for the second dropdown, as I cannot have a condition to show the Property (ID) values in EPMDimensionPropertyValues
    Also note that MATERIAL is not present in the report ( this is because we need a different aggreagation for material in the report) so we cannot use EPMDiemnsionOverride.
    Please help.

  • Can you mask a field value based on another?

    In XML publisher, is it possible to not display field values based on a value from another field?  If so, how can this be accomplished?
    For example, I have a field value for Address Line 1 as "123 Main Street".  I don't want the City, State, Zip, County and Country to be be displayed in the pdf output.  However, all other Address Line 1 values should be displayed.
    Thanks in advance,
    -joe

    PLD is a very basic tool.  The goal you try to achieve may not be available as I know of.
    Thanks,
    Gordon

  • ADF 11g: Change Text Value within af:dialog

    Any guidance much appreciated: I'm new to ADF 11g and java scripting...
    I have a popup containing a dialog inside my af:document. I want to be able to dynamically change the text message being displayed inside the dialog at runtime prior to showing the popup. I have added an af:panelGroupLayout inside the dialog component, with an af:outputText component inside that.
    <af:popup id="nexusAlertPopup">
    <af:dialog id="nexusAlert"
    inlineStyle="vertical-align:top; text-align:left; font-size:small;"
    type="ok" closeIconVisible="false" title="Change Me"
    affirmativeTextAndAccessKey="Continue">
    <af:panelGroupLayout id="nexusAlertPanelGroup">
    <af:outputText id="nexusAlertText"/>
    </af:panelGroupLayout>
    </af:dialog>
    </af:popup>
    When I look at the ADF javascript API, I cannot find a set method to change the value of the outputText in my JS Function. Can you use a normal setAttribute method on any ADF object?
    Regards,
    Mario

    Branislav Nemec wrote:
    Is there a particular reason you need to change the title in JS function?Thanks for your reply Branislav.
    To make a short story long: I am trying to create a dynamic popup dialog on an ADF page template. We have Oracle Form Modules which are being clipped inside this center panel of the pages using this template and the communication between the ADF application and our Forms application happens through JS on the client. What I need to do is on the Forms side, override all forms alerts with a call to a JS Function which would popup a synchronous ADF dialog and return the result back to Forms in a Global variable. So the text of the alert needs to be dynamically passed through and this needs to preferably happen on the client side without a roundtrip to the ADF server. If it is possible. Also, it is not the TITLE I am concerned about as there is a setTitle() method in the AdfRichDialog class.
    Hope this sheds some light on the issue...

  • Change Column Value based on Characteristic in Rows

    I am not sure it is possible.
    We have product prices at different levels of customer hierarchy.
    Channel > Division > Region > Market
    One Region can have multiple Markets.  Each market can have different Rates.  But the Region will have a different Rate which many not be the average rate of all market (assigned as part of master data)
    I have a column for Product Price.  So when a Report is run at Market Level it should use Market Rate.  If Market is Removed and Region is dragged into the report it should use Region Rate for Product Price.
    Product Price is Restricted by Rate Type value to determine which Rate is used.
    Is there a way to dynamically determine the define the column value based on the characteristic value in the ROWS.
    Thanks

    Hi,
    For every CHAR like Market/Region there will be some key. For example Maket1 = 11 and Market2 = 22. If that key is a number then you may create replacement path variable on that and convert the same in numbers then you may create various CKF (for various rate type) and put "If" condtion and check for those replacement path CKF and use the apprpriate one.
    You need to write some tricky formula at CKF levels. This is one of the way to achieve that.
    I hope it will help.
    Thanks,
    S

  • Getting Array value based on another value

    Hi
    Im pretty new to Powershell, havnt tried to code in almost 15 years so Im a Little rusty to say the least. Im trying to make a script where I import a csv file into an array and then use foreach on one value to output another value. An example of the csv
    file could be the following.
    Client,Email,EmailAddresse
    Company1,No,[email protected]
    Company2,Yes,[email protected]
    Company3,Yes,[email protected]
    I have tried the code below to import the csv file into an array and then output the email address where email was set to "Yes"
    $clientlist = Import-Csv E:\Script\Clients.csv
    foreach ($client in $clientlist | where {$_.Email -eq "Yes"})
         Write-host $clientlist.emailaddresse
     When I execute the code I get the following output:
    [email protected] [email protected] [email protected]
    [email protected] [email protected] [email protected]
    What I would like to get is just the one email address in each line, matching the email address from the csv where the value "email" was set to "Yes". What am I doing wrong?
    Thank in advance
    Anders Lausen

    You could just filter using Where-Object without the need for the ForEach.
    Import-Csv E:\Script\Clients.csv | Where {
    $_.Email -eq 'Yes'
    } | Select EmailAddress
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • Update col value based on another tbl - update, case stmt, subquery

    I need to
    1) add a column col1 to existing table tbl1;
    2) the value of col1 will be updated from the column col2 value from table tbl2;
    3) if the tbl2 returns many records or no records, the col1 value will be defaulted to 0; otherwise it will be the unique value from the col2 of tbl2
    I am stuck.
    Thanks.

    hI,
    new2Oracle wrote:
    I need to
    1) add a column col1 to existing table tbl1;Use ALTER TABLE.
    2) the value of col1 will be updated from the column col2 value from table tbl2;
    3) if the tbl2 returns many records or no records, the col1 value will be defaulted to 0; otherwise it will be the unique value from the col2 of tbl2Use a CASE expression to test if there is exactly one matching row or not, and return a value based on that.
    For example:
    UPDATE  tbl1     t1
    SET     col1     = (
                SELECT  CASE
                        WHEN  COUNT (*) = 1
                        THEN  MIN (col2)
                        ELSE  0
                      END
                FROM       tbl2
                WHERE       common_column_1     = t1.common_column_1
                AND       common_column_2     = t1.common_column_2
    ;Since the sub-query is using an aggregate function (COUNT), the value returned must also be an aggregate (like MIN) or a constant (like 0). In cases where there is only 1 row, we could use MAX, AVG or SUM instead of MIN to get the value of that one row.

  • Change item Label based on Another item's value

    Hi guys,
    I need to set an item label (A) based on the value of another item (B). I did the following:
    I Created a dynamic action.
    When B changes:
    1- submit the value of B
    2- Refresh item A
    The label of the item A is : myitem &B.
    Any ideas ????
    Best Regards,
    Fateh

    Fateh wrote:
    Ok... Thanks a lot... but before closing the thread and for better understanding.
    I put this code on Execute when Page Loads:
    $("#P1_A").change(function(){
    if($v(this)=="Rent"){
    $('#mylabel > label > span').text('Is it for Sale also');
    }else{
    $('#mylabel > label > span').text('Is it for Rent also');
    }However, the label does not change. Any ideas why this is not working????
    Regards,
    Fateh
    $v(this)
    you are mixing jquery and apex API, it won't work
    and missing *});* at the end, and when adding to the page load you should wrap them in $(document).ready( code here.... });
    $(document).ready(function () {
         $("#P1_A").change(function () {
              if ($(this).val() == "Rent") {
                   $('#mylabel > label > span').text('Is it for Sale also');
              } else {
                   $('#mylabel > label > span').text('Is it for Rent also');
    });

  • Change text colour based on text in another text box

    I am playing around with data merge in CS6 to layour customised artwork and I'm stuck.
    I have the data merge working no probs, bringing in the correct artwork and the names to go on the artwork. What I cannot seem to acheive is how to get the names to change colour based on the club field i have in my data set.
    I have the following fields:
    @design - brings in the artwork
    name - bringing in the customers name to be printed on the artwork
    club - brings in the club name
    I presume I have to apply a paragraph style to the <<name>> field to get it to change colour, I cant work out how to use a GREP style to get it to change based on the <<club>> field though.
    Any help would be much appricated or alternative ways to do this.
    I have around 500 records to propcess on a weekly basis so being able to automate it would be a big help.

    I think it can be done with GREP styles, though I'm very weak in GREP skills.
    This this example has the club name before the player's name:
    I burned out trying to recreate the successful example with the player name preceding the team name. I think it used a different lookaround method. Any suggestions are welcome.
    One problem I'm stuck on is how to make the expression that captures the player's name work with one, two, three, or more names, like first, middle, last, esq., etc. Currently there needs to be the same number of word placeholders in the GREP expression as there are words in the player's name.
    In this example, the bteam search fails. I moved it to another position in the GREP style dialog box, but no success. I created dteam to see if perhaps there was a limit to the number of searches. It succeeded when I deleted, then recreated, the bteam search.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Can we change the state based upon another field value?

    I want to change the state to Done when completed work is set to 0. I googled it and came to know about this:
    Handle it from the server side, monitoring the WorkItemChanged event. The downside is that it doesn't reflect immediately in the end-user screen. After editing a work item, the user would have to hit Refresh to see the new state.
    Will it be perfect in this way? Any other suggestions.
    Please provide best links to learn about creating server plugins and depoying.

    Hi divya,
    For your questions, you can refer to the link that Alexandr mentioned above to check the Pros and cons of custom controls for work item tracking.
    And for server side plugin, it has the ability to capture all the occurred events without exception. You can get more information about how to implement it by refering links below:
    https://socialtfs.codeplex.com/wikipage?title=How%20to%20create%20and%20debug%20a%20Team%20Foundation%20Server%20server-side%20plugin&referringTitle=Documentation
    http://vgaltes.com/index.php/2013/04/14/create-a-team-foundation-server-event-handler/
    http://geekswithblogs.net/jakob/archive/2010/10/27/devleoping-and-debugging-server-side-event-handlers-in-tfs-2010.aspx
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ViewObject Default Value Based on Another ViewObject

    I need to pull the default value for a view object from the current row of another view object.
    Client uses a combobox to select a 'Location'. Then in the other view objects, I use that location for all new rows. This way they only select their location once.

    Thanks for the reply!
    In our case we're actually managing users within our own database table; not the build-in security. When a user registers, a new row is created and we're trying to set their display name automatically based on the values they enter on the registration page. They won't be able to edit the display name on the registration page, and it won't be displayed until they log in (though the user should be able to change their display name on their profile management page). We have come up with a workaround that seems really messy: set a default value (basically a placeholder) for the display name in the EO attribute properties, then set the display name to <firstname> <lastname> in the prepareForDML() method in EOImpl.java if the entity state is new. This doesn't seem like a proper solution to us, and we're really hoping there's a better way.
    Thanks,
    Alex

  • Problem with changing required property based on another field using EL

    Hi,
    In my form, I want to set required property should be true or false for field 'B' based on value of field 'A'.
    Value of 'A' is from 1 to 10 as choice list.
    If 'A' value is 1 then i want i want to set required property of 'B' is false.otherwise the field 'B' should be required.
    I set auto Submit to true for field 'A' and 'A' assigned as partial trigger for 'B'.
    In required property of 'B', i given
    #{bindings.ScheduleLevel.inputValue!=1}
    Now, it is working fine if i try to change the list value of 'A' from 2 to 1 or 1 to 2 or more in the existing record.
    But, if i click create button, then if i choose 1 for 'A', then the 'B' field is not changing from required to non-required.
    my jdev version is 11g.
    Any suggestions please.
    Thanks in advance,
    SAN

    This would not work as validations would fire before. So you will have to accomplish this using a valuechangelistener like this.
    Keep a boolean variable which captures whether field is required or not let' say brequired
    for field A
    set immediate=true, autosubmit=true
    then in value change listener of A you use the code as follows:-
    public void onAChange(ValueChangeEvent valueChangeEvent) {
            Object value=valueChangeEvent.getNewValue();
            if(value!=null&&!value.toString().trim().equalsIgnoreCase("")){
                setBrequired(true);
                FacesContext.getCurrentInstance().renderResponse();
            else{
                setBRequired(false);
                FacesContext.getCurrentInstance().renderResponse();
                }

Maybe you are looking for