How to add transient attribute to URL Data Control

Hi,
Is it possible to add a kind of "transient" attribute to an URL Data Control on model layer?
regards
Peter

Hi,
no. it doesn't. Even with ADF BC, the transient attributes need to be held by the business service and not the data control
Frank

Similar Messages

  • How to Add custom Attribute in XML

    How to add Custom attribute recusrivly. With sequence order.
    //Before xml:-
    var myxml:XML=
    <root>
    <leval0 >
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    </leval0>
    </root>
    ////After xml:
    var myxml:XML=
    <root>
    <leval0 levalid="0" >
    <leval1 levalid="0_0" >
    <leval2 levalid="0_0_0"></leval2>
    <leval2 levalid="0_0_1"></leval2>
    </leval1>
    <leval1 levalid="0_1" >
    <leval2 levalid="0_1_0"></leval2>
    <leval2 levalid="0_1_1"></leval2>
    </leval1>
    </leval0>
    </root>

    //call this method
                trace(addAttribute(myxml));
    //method
                private function addAttribute(node:XML, depth:String = ""):XML
                    if (node.hasComplexContent())
                        var count:int = 0;
                        var prefix:String = 0 < depth.length ? depth + "_" : "";
                        var currentAtt:String;
                        for each (var nodeItem:XML in node.children())
                            currentAtt = prefix + count;
                            nodeItem.@levalid = currentAtt;
                            addAttribute(nodeItem,currentAtt);
                            count++;
                    return node;

  • How to add 2 days to a date field?

    How to add 2 days to a date field if a Saturday was selected on a different date field?
    Thanks

    I am attempting to add a date field and then have a another field add an amount to a box if the date is less than 30 days. Later I want to update the form to have the today's date is less than 10 days.
    Early Registration Fee is $10.00 if posted by February 25, 2008
    Late Registration Fee is $20.00 if posted by March 17, 2008
    It seems simple, but, when you get to be 71 years old, it seems difficult. Any help will be appreciated.
    Here is a link to the form I'm working on:
    http://www.aworldwide.com/Gideon/Convention_Registration.pdf
    I am using a trial version of Adobe Acrobat 8.
    Thanks,
    Andy Anderson

  • URL Data Control: Connection to the URL source could not be created

    Using JDev Studio 10.1.3.2
    Trying to use a new URL data control pointing to a csv file.
    I have successfully create a new URL data control using the New Gallery->Web Services->URL Services Data Control. I have successfully tested the connection and I am able to see the Data control in the DC Palette. The attributes shown are correct.
    However, when I create a test client displaying the new CSV Data Control attributes in a table and try to run it, I get the following error:
    "Apr 21, 2008 3:40:46 PM oracle.adfinternal.model.adapter.url.csv.CSVDataControl invokeOperation
    WARNING: Exception invoking method from CSV data control. Cause: javax.naming.NameNotFoundException; remaining name 'URLConnection1'
    Apr 21, 2008 3:40:46 PM oracle.adfinternal.model.adapter.url.csv.CSVDataControl invokeOperation
    WARNING: Exception invoking method from CSV data control. Cause: javax.naming.NameNotFoundException; remaining name 'URLConnection1'
    Exception in thread "main" oracle.adf.model.adapter.AdapterException: DCA-50006: The URL data control call failed. A connection to the URL source could not be created.
    The data controls configuration file is shown below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <DataControlConfigs xmlns="http://xmlns.oracle.com/adfm/configuration"
    version="10.1.3.40.66" Package="com.xp.model"
    id="DataControls">
    <AdapterDataControl id="URLDataControl1"
    FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
    ImplDef="oracle.adfinternal.model.adapter.url.csv.CSVDCDef"
    SupportsTransactions="false" SupportsSortCollection="true"
    SupportsResetState="false" SupportsRangesize="false"
    SupportsFindMode="false" SupportsUpdates="false"
    Definition="URLDataControl1" BeanClass="URLDataControl1"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol">
    <Source>
    <Definition xmlns="http://xmlns.oracle.com/adfm/adapter/url/csv"
    ConnectionName="URLConnection1"
    Source="http://phusca-w20909:8080/client_war/WRK_COMPUTERS.csv" Delimiter=","
    QuoteChar="{none}" IsFirstRowNames="true" Encoding="UTF-8"/>
    </Source>
    </AdapterDataControl>
    </DataControlConfigs>

    Using JDev Studio 10.1.3.2
    Trying to use a new URL data control pointing to a csv file.
    I have successfully create a new URL data control using the New Gallery->Web Services->URL Services Data Control. I have successfully tested the connection and I am able to see the Data control in the DC Palette. The attributes shown are correct.
    However, when I create a test client displaying the new CSV Data Control attributes in a table and try to run it, I get the following error:
    "Apr 21, 2008 3:40:46 PM oracle.adfinternal.model.adapter.url.csv.CSVDataControl invokeOperation
    WARNING: Exception invoking method from CSV data control. Cause: javax.naming.NameNotFoundException; remaining name 'URLConnection1'
    Apr 21, 2008 3:40:46 PM oracle.adfinternal.model.adapter.url.csv.CSVDataControl invokeOperation
    WARNING: Exception invoking method from CSV data control. Cause: javax.naming.NameNotFoundException; remaining name 'URLConnection1'
    Exception in thread "main" oracle.adf.model.adapter.AdapterException: DCA-50006: The URL data control call failed. A connection to the URL source could not be created.
    The data controls configuration file is shown below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <DataControlConfigs xmlns="http://xmlns.oracle.com/adfm/configuration"
    version="10.1.3.40.66" Package="com.xp.model"
    id="DataControls">
    <AdapterDataControl id="URLDataControl1"
    FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
    ImplDef="oracle.adfinternal.model.adapter.url.csv.CSVDCDef"
    SupportsTransactions="false" SupportsSortCollection="true"
    SupportsResetState="false" SupportsRangesize="false"
    SupportsFindMode="false" SupportsUpdates="false"
    Definition="URLDataControl1" BeanClass="URLDataControl1"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol">
    <Source>
    <Definition xmlns="http://xmlns.oracle.com/adfm/adapter/url/csv"
    ConnectionName="URLConnection1"
    Source="http://phusca-w20909:8080/client_war/WRK_COMPUTERS.csv" Delimiter=","
    QuoteChar="{none}" IsFirstRowNames="true" Encoding="UTF-8"/>
    </Source>
    </AdapterDataControl>
    </DataControlConfigs>

  • "Source not found" Error creating URL Data control with query parameters

    Hi,
    I have a restful service for which i want to create a URL data control. I am able to create the URL data control successfully when i am not passing any parameters in the Source field. But if i am specifying the parameters in the source field like this Department=##ParamName##, something weird is happening. After giving the param string in the Source field, it asks for default param value to test the url. It tests the url successfully. After that i select XML as the data format in which i am mentioning the xsd like this . "file:///C:/..../something.xsd" . And this is when i am getting the error. "Invalid Connection. The source is not found". I am giving exactly same path for xsd which i gave while creating URL data control without query parameters. Infact i was able to create the URL data control with query parameters successfully till afternoon. after that it started giving me this error all of a sudden. Infact as soon as i was able to create a URL data contol with query parameter successfully, i took a backup of the application before moving further. But even that backup is not working now.
    As far as i understand, i dont think there will be any change in xsd if query params are passed to a web service. Please correct me if i am wrong.
    Just dont know what could be the issue. Please help
    Thanks

    Hi,
    xsd is used for the URL service to know what the returned data structure is so it can create the ADF DC metadata
    Frank

  • How to add an image to an IMAGE control in Java WebDynpro

    hi
    How to add an image to an IMAGE control in Java WebDynpro.
    Please give me the steps to assign an image to an IMAGE control.
    Advanced Thanks
    brahma

    Thank You Mathan MP,
    i tried these steps, but whenever i selected the source property of image UI control, it opens a context window, but this context window does't contain any thing for selection.
    so how to solve this problem ?
    the link whatever u provided is not opened, please send the correct link.
    http://127.0.0.1:1284/help/index.jsp?topic=/com.sap.devmanual.doc.user/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    Thanks in Advance
    brahma

  • How to use Bind Variables in Essbase data control

    Hi,
    I am trying to use Bind Variables in MDX query while creating the Essbase Data Control. I have used the below query with the Bind Variable.. this query is working in Essbase admin console..but it is throwing error (*Invalid MDX Query)* while creating Essbase Datacontrol in JDeveloper.
    MDX Query : SELECT {[Measures].Msr_2} ON COLUMNS, [Time].Children ON ROWS FROM cube
    where ($name)
    Could any body suggest me on how to use bind variables with Essbase Data control.
    Thanks,
    Swathi

    Hello Swathi, can you please help me how you created Essbase DataControl? Also were you able to figure out this?
    Thanks, Praveen.

  • Support for JSON type data in ADF URL data control

    Hi,
    We are trying to migrate from a bindows based UI to ADF.
    Our current architecture relies heavily on JSON type data for communication between products.
    Is there a way an URL Data control can handle JSON type data?
    Any help in this regard would be of great help.
    Cheers,
    Raj

    Hi all,
    Is there any news on this issue? I would also like to be able to call a REST web service (non-SOAP) and use the JSON formatted response in ADF. (The use case here is to call UCM services from WebCenter without the SOAP overhead).
    Regards, Stijn

  • How to add Custom Attributes in the SOAP header for OWSM

    Hi,
    I like to know how to add the Custom Attributes in the SOAP header for OSWM username token authentication.
    Currently we are getting the header element like
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    here we need to add the attribute "soap:mustUnderstand="1" , so the element will look like
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    Any info on this will be helpful.
    Thanks,
    ArunM

    Hi Jay, you can make it in more than 1 way.
    I suggest you the following:
    - create an URL iview that points to any URL you want.
    - define a Resource that points to the iview (with a window name, to open in new window)
    - define an Area that points to the resource
    - add your new Area to the your current Area Group
    Regards!

  • How to add new attribute for triggering workflow?

    Dear Expert,
    I want to create condition for triggering workflow.
    I am working on travel request workflow, using BUS2089.
    my requirement is to differentiate or make condition of triggering workflow based on trip activity type,
    but I can't find any attribute about trip activity type.
    how to add activity type to be available for create condition?
    thanks

    Hi,
      If am not wrong you are trying to raise event when ever there is a new travel request raised, so the BOR would be availbel in the workflow container to be more preciese it would be available in the event container, so you need to find out the right attribute in the BOR where the trip type is assigned and validate this in the start conditions i mean in the basic data of the workflow where you activate the event linkage.
    Regards
    Pavan

  • How to add new attribute in product catalog?

    Hi All,
    Can anyone tell me how to add new field/attribute in product catalog?
    The requirement is to display product's new attribute on product catalog screen.
    Do I need to create any custom java class?
    Need suggestion!!
    Thanks.
    Regards,
    Rupali

    Hello Rupali,
    I am assuming a CRM E-Commerce scenario for my help here.
    Can anyone tell me how to add new field/attribute in product catalog?
    You must start from defining the new Attribute in an exisiting or new Set Type. Use transaction code COMM_ATTRSET. Once you have the attribute / attribute set defined, you can assign this to your catalog - in the header data as the Basic characteristic List.
    to display product's new attribute on product catalog screen
    See catalog/ProductDetailISA.jsp for tips - search for catalog.isa.attribute. The catalog item WebCatItem has all the details available already.
    com.sapmarkets.isa.catalog.webcatalog.WebCatItem currentItem = webCatItem;
    If you want to show the details of attributes in the catalog page - say - catalog/ProductsISA.jsp, the instance of WebCatItem is already available. In this page look for
      <isa:iterate id="item"
                   name="itemPage"
                   type="com.sapmarkets.isa.catalog.webcatalog.WebCatItem">
    You can see that item is an instance of the WebCatItem and follow the code in the <isa:iterate> loop. Using the following code
    Iterator itemAttribute = item.getCatalogItemAttributes();
    will give you the attribute list. You can iterate over the list of attributes and do what you want.
    Easwar Ram
    http://www.parxlns.com

  • How to populate transient attribute from view object dynamically

    I have three 4 tables named as "employee,event,event_progress,and checklist progress". i have created a view object using the first three tables . i ahave also created 5 transient variables in to the same view object.when i dragged the view object in to my page as a table i want to populate those transient attribute.
    i have 5 transient attribute which are present as a column value named as chechlist_name in another table "checklist".those all transient attribute also having two sub rows whose data should be populated from the checklist progress table.

    Hi
    Please post your question on this forum, your question belong to this forum.
    JDeveloper and ADF
    Muhammad Nasir

  • How to add Navigation attributes values via ABAP while creation of CVC

    Hi,
    I have a requirement like, I have to add navigational attributes to the cvc record while CVC creation ( /sapapo/mc62 transaction).
    There were two scenarios: 1. Usually when they load master data from BW side those navigation attributes available and when we do CVC creation it's automatically picks those values. If NOT then i have to bring Market segment and Business unit navigational attributes values from ECC via RFC function module by passing MPN and End customer division as a input.
    I am facing problem when BW side if business unit and Market segment were blank.
    Do we have any Function modules available to add navigational attributes data and should update corresponding master data tables.
    Please help me step by step process on this.
    Thanks
    Ravi
    Edited by: REDDY KALLURI on Jan 22, 2011 10:30 PM

    Michael,
    Are you intending this as a commercial solution or a work around?
    To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
    And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
    So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
    That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
    Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
    null

  • How to add an attribute to a notification message ?

    Hi,
    I want help in adding an attribute to a PO Approval notification message.
    The attribute is from the PO Header screen , it is the Ship-To field (See screenshot) : http://i48.tinypic.com/2wh35v5.jpg
    Kindly help me and tell me how i can add this attribute to Approve PO with PDf message (See screenshot) : http://i46.tinypic.com/nchvzs.jpg
    Best Regards,
    Yousef

    Yousef,
    - You add an attribute at item level, let's call it SHIP_TO, type varchar
    - You add another attribute at the message level, let's call it SHIP_TO too and set its value to item attribute SHIP_TO
    - Now you doble-click on the message and edit its body and add the reference to this new attribute:
    Ship to: &SHIP_TO
    - Save the workflow process and upload to the database.
    - Now you need to set this attribute's value using WF_ENGINE.SetItemAttrText() just like the other existing attributes for this workflow.
    Regards

  • How to add new fields to a data extract

    The following data extract program generates an output file which is displayed using a publisher template as a check format report.
    Oracle Payments Funds Disbursement Payment Instruction Extract 1.0
    How would I add new fields to the generated file? In other words what is the procedure to add new fields to the data extract?
    Thanks

    Do anyone pls advise how to customize the payment extraction program? We also have the similar requirement to extract extra fields to format a payment file.

Maybe you are looking for