Setting main object property initial values before loading tile list - Agentry

Hi;
I am working on SAP Work Manager 6.0 customising using Agentry 6.1.3. I have 2 properties on the Main object, which are WeekStart and WeekEnd, these properties have their initial values set using a rule on the transaction property level. I am using these two properties in a tile list include rule, to only display items per week, that is if the item date is between WeekStart and WeekEnd. Now my issue is when the tile list initially loads items, the action containing the transaction to set values for WeekStart and WeekEnd has not been executed yet, and hence at this point the tile list is empty. At what point could I run this action to set the initial values of WeekStart and WeekEnd? Currently when the tile list loads, nothing is displayed because the dates sitting in WeekStart and WeekEnd are invalid yet, they have not been set by the transaction. My current include rule is as follows:
Your help is very much appreciated!
Thanks and Regards;
Sizo Ndlovu

Hi;
I really thought that putting the action on "Succesful Login Action" would deal with this issue, please see screenshot below:
But I see that this does not get executed on the initial load?!
Any suggestions would be appreciated!
Thanks and Regards;
Sizo Ndlovu

Similar Messages

  • Item property 'Initial Value'

    In our application, we use the Item Property 'Initial Value' to populate default values in new records.
    For our Forms 4.5 release of the application, the Item Property 'Default Value' populated this value at form startup (the record status is 'new'). As I recall (hazily) during pre-conversion testing, Forms 6.0 Item Property 'Initial Value' performed the same functionality at form startup. No code changes have been made during the conversion for this event.
    Forms 6i (6.0.10.3) appears to only populate initial values that are hard coded or system defaults. Initial values retrieved from a block/global item is not set at form startup (block values are set in the WNFI trigger and globals are set before entering the form).
    The only solution we found is to add a CLEAR_RECORD to the WHEN-NEW-FORM-INSTANCE trigger. After this built-in is executed, the initial values from block/global locations are populated.
    Has anyone noticed this problem. I checked the bug database and did not find any mention of this problem.
    You might want to keep this in mind at form startup in your application when converting to Forms 6i.

    Hi John
    Thanks for your tip; I noticed that behaviour and tried to work around it with pre-insert triggers (which also don't work properly for me).
    I'm on Forms version 6.0.8.8.0, on linux.
    Thanks again
    Paulo
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Mierzurak ([email protected]):
    In our application, we use the Item Property 'Initial Value' to populate default values in new records.
    For our Forms 4.5 release of the application, the Item Property 'Default Value' populated this value at form startup (the record status is 'new'). As I recall (hazily) during pre-conversion testing, Forms 6.0 Item Property 'Initial Value' performed the same functionality at form startup. No code changes have been made during the conversion for this event.
    Forms 6i (6.0.10.3) appears to only populate initial values that are hard coded or system defaults. Initial values retrieved from a block/global item is not set at form startup (block values are set in the WNFI trigger and globals are set before entering the form).
    The only solution we found is to add a CLEAR_RECORD to the WHEN-NEW-FORM-INSTANCE trigger. After this built-in is executed, the initial values from block/global locations are populated.
    Has anyone noticed this problem. I checked the bug database and did not find any mention of this problem.
    You might want to keep this in mind at form startup in your application when converting to Forms 6i.<HR></BLOCKQUOTE>
    null

  • Define main objects for Drag & Relate between BW 3.1 and EP6

    hi all.
    We are trying to implement Drag & Relate between BW 3.1 and EP6.
    We have 2 different BW reports based on the same object "0MATERIAL". One of them should be a source and the other is the target. When creating the iViews for these reports the "main object" property has no values, therefor we don't see any symbol near the object we want to drag. The import of the "0MATERIAL" object from BW to the portal was successful.
    Is it related to customizing the BW system or the portal?
    thanks,
    Sagi

    I solved the problem - I added the BW alias before the main object name in the main object property. For example "BW.0MATERIAL" when BW is the BW system alias and 0MATERIAL is the object name.
    Sagi

  • Help "unable to load network list"?

    After updating my iphone 3gs to ios 4.3.3 my phone's cellular serice does'nt work anymore, when I go to Setting>Carrier it say's "Unable to load network list". But anything else works fine.
    Please guysss if someone knows how to fix this please let me know..

    Sorry not sure why your new sim card isn't supported...not sure if it helps but I had my laptop connected to wifi at the time also, but I don't think it should matter. Its worth a try connecting to internet with ITunes on, connect your phone and then turn it on and see what happens.

  • How to default a value in a select list

    Hi
    I have an item on the page which is displayed as a select list.
    The select list has an lov that returns 3 values as follows:
    ACAD1M
    ACAD2H
    ACAD3T
    the sql for this lov is as follows:
    select CAL_TYPE d,cal_type r
    from igs_ca_type
    where s_cal_cat='ACADEMIC'
    It needs to return the values in the order as shown above, however if the user does not select anything from the select list, I want it to default to the value in the middle of the list(ACAD2H)
    I tried using default on the item but I could not get this to work.
    Could someone explain how I can get the select list in HTMLDB to default to the value that I want regardless of which position it appears in the select list it always seems to default to the value at the top of the list.

    Hello Kay,
    A default value for a select list must be set to a legitimate returned value from the select list LOV query.
    The default value should be set in the item "Default" section. In the "Default Value" field you should enter your query – in a form of a PL/SQL Function Body – and set the "Default Value Type" field accordingly.
    The following is an example of code I'm using to set the default value of a select list to be the first displayed option (set by the user, and recorded in the dispord column):
    declare
      l_sno  number;
    begin
      select sno
      into l_sno
      from mis_mess_users
      where dispord = (select min(dispord)
                     from mis_mess_users);
      return l_sno;
    end;Using the same principle, you can use any query that will give you the result you need.
    Regards,
    Arie.

  • Setting property attribute values for multiple selected objects.

    Hello,
    Is there an easy way to set the attribute property values for more that one selected Table Operator Attribute (column) at a time. For example the target table has over 100 columns but I only want to INSERT/UPDATE 10 of those columns. The generated MERGE, INSERT and UPDATE statements will perform DML on all of the columns in the target table, setting the 90 columns with no mapping set to NULL. This is due to the Loading Properties 'Load Column when Updating Row' and 'Load Column when Inserting Row' both default to Yes. I would like to select multiple Attributes in the Table Operator and change the 'Load Column when Updating Row' and 'Load Column when Inserting Row' to No. This is similar to what you were able to do in Oracle Forms 9.0 Designer select multiple Items in a Block and change the properties en-masse.
    Thanks

    Hi,
    Using OMB scripting to set attribute properties in a data mapping sort of defeats the purpose of utilizing a graphical user interface to define and set properties for a data mapping? Surely the GUI data mapping tool was created to get away from writing scripts and scripting would also require that you know the name of the data mapping, table operator and the set of attribute names for which you have to write one line of script to set each property value, i.e. 90 lines to set 90 attribute values.
    Cheers,
    Phil

  • Filter af:outputText  value with some parameters before loading component

    I use jdeveloper 10.1.3 with web adf components.
    I want to show outputText component with some custom Object (item),
    <af:outputText value="#{bindings.item}">
    but before showing this component on the page , during runtime, this item object must be filtered with some parameters and then returned some string ( convert item object to string with parameters during runtime, before loading this outputText component).
    How can I do this?
    Maybe it needs some back beans or I am thinking to create custom component like outputText ,but how to do ?
    what is optimal disizion?
    can someone help me or someone can send some documentation?

    Hi,
    When u will bind Output Text with some method in Backing bean u will get a set(),get() methods along with a CoreOutputText variable, u can initialized the variable , and if u want to check any condition then before setting the value then check the condition in the constructor of the backing bean and then change the CoreOutputText value accordingly,which will set the corresponding value,in the UI
    Thanks

  • MacBook Pro w/10.6.8 requires me to sign in twice at initial log-in screen before loading

    My MacBook Pro w/10.6.8 requires me to sign in twice at initial log-in screen before loading.. In addition, after Safari 5.1.7 has been open for a few hours the browser stops loading pages and then the entire computer  freezes and I have to do a forced reboot with the power button. The first push of the power button brings up the four options screen: "sleep, restart, turn off, logout" but they don't work. I have to force shutdown.
    I don't have either of these problems from a safe boot. However a boot from a clean "Test" administrator account still requires me to login twice before the desktop loads.
    If I login once as either Test or my User Name then choose the " back" button then switch to the other login option before pressig the return key, I only have to login in once at the new login screen. 
    This problem began after I partitioned my 500GB HD with a 10.6.8 partition--the problem partition-- and a Lion 10.7.4 partition (to avoid iCloud issues with Snow Leopard). The Lion partition does not require double login. I have not done anything yet with the Lion partition except software updates.
    I have also been having LCD problems  (according to recent Genius Bar visit, not related to the NVIDIA 8300 problem). Sometimes (every 2-3 times I start the MBP) the MBP will reboot but the screen will be so dark I can't see the cursor and can barely see the desktop. The brightness is set at max and pressing the buttons up/down don't affect the dark screen. Usually I restart and the screen appears normal. This problem occurs with Safe, Test and User Name boots.
    Thanks for any suggestions

    I have the same issue and eventually revirted to logging in web wise to emails and have found that its not so bad- but the moment app wants to access mail it slows down and have had had issues again.
    I know that Mac products when accessing emails have a tendancey to semi download images- and was told that this can be the issue by a friend( not sure how rellable this is) but have noticed a coralation between the two factors.
    I know that there are issues with hotmail when on certain devices ( had the warning form hotmail's site)- but still have yet to be shown how to remove my email from Mail- if yo have any ideas I might try it.
    Please if you have any advice of how to remove main email that would be great and it may be a  option for you. 

  • Set initial value using SQL

    Hi,
    How do I set the 'initial value' property of a default value using an SQL statement?
    Any help appreciated,
    Rob

    Hi Kevin,
    you are right. It is sometimes confusing for the users, but it is - as you said - like setting the initial value, of course you can do some more complexity there.
    One big problem is. If you want to set the initial values in a detail record of a master-detail relatioship depending on the master-record, you CAN'T use it. If you change the master record to a record which doesn't have a detail, the WHEN-CREATE-RECORD trigger fires before the master-record really changes. That means, the detail will be initialized with data from the old master-record (the one you were in, before changing the master record). Stupid thing.
    I never tried the WHEN-DATABASE-RECORD trigger, I even don't know how it works. I think I have to check what it is doing.
    Regards,
    Torsten

  • How to Set icon/image programatically in ADF before page loads

    This is my UI:
    Depends on the condition i want to set icon/image programatically in my java code.Before page load im calling this method.
    So i couldnt take binding value also,it throws null pointer exception.Then i tried setting icon/image programatically.
    <af:commandImageLink text="settings" icon="#{bean.iconsettings}" binding="#{bean.bind}"> </af:commandImageLink>
    My bean:
    private RichIcon iconsettings;(its getters and setters)
    private void method(){                         // method
    if(cond){
    this.iconsettings="/images/20.jpg";   //trying to set icon in a string.but it throws me error that cannot set RichIcon to string.
    else
    this.iconsettings="/images/19.jpg";
    Could any one tell me how can i set icon/image in java code.Before page loads im performing all above said tasks.Please help.

    Well, you set the icon property to a bean method, which you have done. The bean method however need to have the signature
    public String getIconsetting()
    // your code returning hte path to the icon
    if(cond){
         return ="/images/20.jpg";   //trying to set icon in a string.but it throws me error that cannot set RichIcon to string.
    else {
         return ="/images/19.jpg";
    The bindproperty is not needed, remove it and remove the RichIcon Iconsettings too´as it's not needed to and is the wrong type anyway.
    Timo

  • Setting an item value before print report in BI Publisher

    Hi,
    I am having an issue with setting a page item's value once a button (that prints a BI Publisher report) is pressed. The session state for the item is set, however because the page does not re-load no value appears in the item on the page.
    I am using a button as a page Item and using a Page Branch with the Branch Point set as On Submit: After Processing(After Computation, Validation, and Processing) with the Page set to 0 and the Request set to PRINT_REPORT=REPORT
    Is there any way to set the item value on the page before branching to the report?
    Your help is greatly appreciated.
    -Marsha

    Marsha,
    You can do that as follows:
    1- create a hidden text item (P20_date_hidden) with default value set to sysdate.
    2- for your button >> edit >> Buttom display attributes >> attributes >> type in : onFocus= "set_date();" (( note: am using onFocus because it takes places before onClick ))
    3- In your page >> edit >> HTML header >> type in :
    <script language="JavaScript" type="text/javascript">
    function set_date()
    v_date = $x('P20_DATE_HIDDEN').value;
    $x('P20_DATE_LETTER_SENT').value = v_date;
    </script>
    Hope this helps,
    Sam
    Please reward good answers by marking them correct or useful!

  • Problem setting initial value for LOV

    Hello, everyone. This seems like it should be simple, but it's giving me lots of problems. I am trying to create my first LOV. I have a messageLovInput item called PFedFilingStatus. From the Property Inspector, I can set an Initial Value of "02", which displays when I run the page, and lets me change it and validate it using the associated LOV.
    What I would rather do is set the initial value programmatically, but here are my problems:
    If I set the value like this:
    OAMessageLovInputBean lovText = (OAMessageLovInputBean)pageLayout.findIndexedChildRecursive("PFedFilingStatus");
    lovText.setText("02");
    then the field displays properly at run time, but can't be changed. The LOV runs, but any value I select flips back to "02"
    If I set the value like this:
    lovText.setDefaultValue("02");
    then nothing seems to happen at run time. The value is not displayed at all.
    Can anyone tell me what I am doing wrong? Thanks for your help.
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, that helps a bunch. Now can you tell me where that is set?
    Thanks so much.
    --Dave                                                                                                                                                                                       

  • Setting initial values on structures

    I have written a middle-ware wrapper which allows me to call a SAP RFC from SQL Server stored procedures.  I am upgrading it from the DCOM to the .Net connector so I can run it on Windows 2003 Server.
    When I set a string value (SAP C type) to initial I get the error "Object reference not set to an instance of an object." raised in the proxy object.  This error does not happen for non-initial values, and also does not happen on my development workstation.  It happens if I set the string to "" or to " ". It occurs on two servers - Windows 2000 and Windows 2003.
    I can't figure out how to debug this, and can't find anything in this forum or on SAP Notes.  Has anyone else found this error?

    A clear head in the morning makes all the difference. There was no problem with the .Net Connector.
    The problem lay with SQL Server's sp_OAMethod procedure, or possibly in the .Net component's CCW.  If you pass an empty string in as an argument, your component gets a Nothing.  I therefore fixed it in the component with:
       If Value Is Nothing Then Value = ""
    Thanks,
    Derek

  • How to set a Object value by JDI

    How to set a Object value using JDI?
    For example:
    class User{
      private String name;
      private String id;
    set and get method;
    public static void main(String[] args) throws Exception {
            VirtualMachineManager vmm = Bootstrap.virtualMachineManager();
            List<AttachingConnector> connectors = vmm.attachingConnectors();
            SocketAttachingConnector sac = null;
            for (AttachingConnector ac : connectors) {
                if (ac instanceof SocketAttachingConnector) {
                    sac = (SocketAttachingConnector) ac;
                    break;
            if (sac == null) {
                System.out.println("JDI error");
                return;
            Map<String, Connector.Argument> arguments = sac.defaultArguments();
            Connector.Argument hostArg = arguments.get("hostname");
            Connector.Argument portArg = arguments.get("port");
            hostArg.setValue(HOST);
            portArg.setValue(String.valueOf(PORT));
            vmMachine = sac.attach(arguments);
            List<ReferenceType> classesByName = vmMachine.classesByName(CLSNAME);
            if (classesByName == null || classesByName.size() == 0) {
                System.out.println("No class found");
                return;
            ReferenceType rt = classesByName.get(0);
            List<Method> methodsByName = rt.methodsByName(METHODNAME);
            if (methodsByName == null || methodsByName.size() == 0) {
                System.out.println("No method found");
                return;
            Method method = methodsByName.get(0);
    I will connect to server and monitor the remote server JVM , There is a object of User, I want to change its value by the Java Debugger Interface by client.
    so how to set its value by the client, and I can not got the User bean at client.
    I know the basic type filed value changed as follows:
    Value newValue = vmMachine.mirrorOf("change var value");// this field is a string.
    stackFrame.thisObject().setValue(field, newValue);
    But a Object , how can I change its value.
    Thanks Advanced.

    ObjectReference.setValue() is the method for chaining the value of an Object's field. First you need to find the specific Object you want to change, though.
    /Staffan

  • How to Set The Initial Value of selectinputdate Component

    I set the the initial value by
    public void setSelectInputDate1(CoreSelectInputDate selectInputDate1) {
    this.selectInputDate1 = selectInputDate1;
    java.util.Date v_tarih = new java.util.Date();
    this.selectInputDate1.setValue(v_tarih);
    But when I change the value of selectinputdate and refresh the page it gives the warning
    2006-11-18 19:21:35.562 WARNING JBO-25009: 25.11.2006 19:17 oracle.jbo.domain.Date object cannot be created
    2006-11-18 19:21:35.562 WARNING java.lang.IllegalArgumentException.
    What is the reason?
    Thanks...

    Hi Turhan Tekin,
    this post may be helpful for you:
    Re: setting value of select input date adf component programmaticaly
    Regards,
    Luis R.

Maybe you are looking for

  • Can receive email, but can't send....getting error message

    I can receive email just fine...but when I try to send email I get this error message: "This message could not be delivered and will remain in your Outbox until it can be delivered. The connection to the server "smtp.mac.com" on port 25 timed out." J

  • Missing sender information in message from Integration Process

    Hi All, I am testing a scenario uses Integration Process. This Integration process sends out a async message but this message has empty sender tag in header , Because of this routing rules and agreements defined for this are not triggered and message

  • Error in TTE tax Processing

    Hi Experts, I am working in CRM 5.0 and getting the following error while stimulating an output for the tax document. Error during the RFC call : Get Tax Procedure Log. Message no. CA_TTE_TEST182 I have configured the related settings in TTE  like de

  • Applying CPU patch on dbs at separate oracle homes

    These etcoratab entry shows that these 3 DBs are on different home, to apply cpu patch on one db i dont need to run off other db right? # *:/w01/app/oracle/product/920:N cflnp:/w01/app/oracle/product/920:Y # *:/b01/app/oracle/product/920:N cimgp:/b01

  • Replacing a hard disk

    I purchased Toshiba Satellite L505 laptop and it came with Windows 7 Pro pre-installed. The initial configuration is 4 GB RAM and 500 GB disk. Now I want to upgrade the hard disk with 240 GB SSD. I don't have Win 7 disk to re-install. How do I do abo