Setting component properties

This question was posted in response to the following article: http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf5f65f-7ff1.ht ml

There seems to be a typo error ("whenevera") in this sentence "In ActionScript, you should use static constants to set property values whenevera possible, as the following example shows:" which can be found under the topic titled "Setting properties using constants."

Similar Messages

  • Setting component properties in itemRenderer

    Hi. I've created a custom itemRenderer for a DataGrid that
    has a TextInput and a Button. When the user clicks the button, the
    Application needs to present a Browse window and display the file
    the user chose in the TextInput of the itemRenderer. I've created a
    custom event that bubbles to the Application level; is it good
    programming practice to pass references to the controls in the
    itemRenderer via the event? If not, can you suggest a better way?
    Thank you.

    "curious_Lee" <[email protected]> wrote in
    message
    news:go6mjt$rl5$[email protected]..
    > Hi, JeffHouser. I remember someone saying it's best to
    use custom events
    > to
    > communicate between an itemRenderer and the app.
    You might find this helpful:
    http://flexdiary.blogspot.com/2007/08/dispatching-events.html
    MPO is that using custom events when you don't need to (and
    you don't)
    couples the application and the components too tightly, as
    both must import
    the same custom class in order to establish communication.
    > So I've been trying to write
    > custom events. These events have private members for the
    controls I need
    > to
    > access from the main app and getter/setter methods for
    them as well. Then,
    > in
    > the main app, I can just say something like this,
    >
    > private var ti:TextInput = new TextInput();
    >
    > public function handleEvent(event:MyCustomEvent):void {
    > ti = event.myTextInput;
    > ti.text = "some text";
    > }
    Try:
    public function handleEvent(event:MyCustomEvent):void {
    //in this scenario ti is a global string variable that is
    receiving the
    text
    ti= (event.currentTarget as
    YourRendererClass).publicallyExposedVarThatContainsTheTextValue;
    /*Never try to directly set any property on a member of an
    itemrenderer!!!
    ti.text = "some text";
    If you have to send something into the renderer, do it like
    this:*/
    (event.currentTarget.data as
    YourDataProviderElementType).columnYourTextInputIsBoundTo='foo';
    HTH;
    Amy

  • Component properties don't exist anymore.

    I have an component called: Event.cfc
    Long story short, I init() it by issuing a command like:
    <cfset eventObject = new 'com.Event'() />
    This component has 2 properties: data (a structure) and name (a string).
    The init() method calls a private method:
    <cfset VARIABLES.setName( VARIABLES.getAttribute( 'event' ) ) />
    The setName() method is implicit, ColdFusion builds it based on the name attribute.  I manually created the getAttribute() method which works with the data property.  In the getAttribute() method, I have a command that reads:
    <cfset LOCAL.retVar = VARIABLES.data[ ARGUMENTS.attributeName ] />
    Well, CF keeps saying that 'data' does not exist in VARIABLES.  But I thought that properties that were defined in a component were put into the VARIABLES scope.  So how can this variable NOT exist when I have it defined at the top of the Event.cfc component as a <cfproperty>?

    <!---
              <!--- ***************************************************************************************** ************************** --->
              <!--- ***************************************************************************************** ************************** --->
              Name:                     Event object component.
              File:                              Event.cfc
              Desc:                              Handles View-initiated Event objects.
              Version:          1.0.0 (2013-10-10T12:00:00-0500)
              Todo:                              [none]
              <!--- ***************************************************************************************** ************************** --->
              <!--- ***************************************************************************************** ************************** --->
    --->
    <cfcomponent
              output                     = "false"
              accessors          = "true">
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!--- Component methods (explicit):
                                            Component methods (implicit):
                                            Component properties:
                                            Private variables:
                                            Public variables:
                                            --->
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!--- Component properties: --->
              <cfproperty
                        required          = "true"
                        type                              = "struct"
                        name                              = "data"
                        getter                    = "false"
                        setter                    = "false" />
              <cfproperty
                        required          = "true"
                        type                              = "string"
                        name                              = "name" />
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!---          Method: init(). --->
              <cffunction
                        access                              = "public"
                        returntype          = "Event"
                        name                                        = "init"
                        output                              = "false">
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Arguments. --->
                        <cfargument
                                  required          = "true"
                                  type                              = "struct"
                                  name                              = "constructorData"
                                  default                    = "#{ 'event' = '' }#" />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Set LOCAL variables: --->
                        <cfset LOCAL.attributeName = '' />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Set instance variables: --->
                        <cfset VARIABLES.setName( VARIABLES.getAttribute( 'event' ) ) />
                        <cfif structCount( ARGUMENTS.constructorData )>
                                  <cfloop collection="#ARGUMENTS.constructorData#" item="LOCAL.attributeName">
                                            <cfset VARIABLES.setAttribute( LOCAL.attributeName, ARGUMENTS.constructorData[ LOCAL.attributeName ] ) />
                                  </cfloop>
                        </cfif>
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!---          Return.          --->
                        <cfreturn THIS />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
              </cffunction>
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!---          Method: getAttribute(). --->
              <cffunction
                        access                              = "private"
                        returntype          = "any"
                        name                                        = "getAttribute"
                        output                              = "false">
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Arguments. --->
                        <cfargument
                                  required          = "true"
                                  type                              = "string"
                                  name                              = "attributeName" />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Set LOCAL variables: --->
                        <cfset LOCAL.retVar = '' />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Capture the attribute value: --->
                        <cfset LOCAL.retVar = VARIABLES.data[ ARGUMENTS.attributeName ] />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!---          Return.          --->
                        <cfreturn LOCAL.retVar />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
              </cffunction>
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!---          Method: setAttribute(). --->
              <cffunction
                        access                              = "private"
                        returntype          = "void"
                        name                                        = "setAttribute"
                        output                              = "false">
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Arguments. --->
                        <cfargument
                                  required          = "true"
                                  type                              = "string"
                                  name                              = "attributeName" />
                        <cfargument
                                  required          = "true"
                                  type                              = "any"
                                  name                              = "attributeValue" />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Store the attribute value: --->
                        <cfset structInsert( VARIABLES.data, ARGUMENTS.attributeName, ARGUMENTS.attributeValue, true ) />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!---          Return.          --->
                        <cfreturn />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
              </cffunction>
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
    </cfcomponent>

  • Ini Flash component properties on beginSprite event

    Hi,
    I spend some time searching the web for a solution to
    initialize Flash components (buttons, input text, list, tree, and
    so on) properties on the beginSprite Director’s event and I
    couldn’t find any practical solution then I‘d like to
    share with you an easy trick I’ve found.
    With this little script you can have just one Flash member on
    your cast and put on the stage any number of instances of it and
    set its properties independently or you can call any handler that
    fills data on components like List, Tree or Data Grid on the
    beginSprite event.
    Works fine and it’s much more efficient than the
    enterFrame or exitFrame solutions out there, on this stepFrame is
    played once instead every application loop like enterFrame and
    exitFrame, so no processor penalties.
    I hope this can help to anyone who needs it.

    I specifically asked you for a file with a single component and a script attached that demonstrated what you were reporting. I asked for this so that I didn't have to waste time wading through extraneous code trying to figure out what was at issue.
    Your problem is that when you set the width, the height drops to zero. I don't know why. In a simple test case with a single component and a behavior attached that sets the sprite.width in the #beginSprite handler this doesn't happen - the width changes and the (original) height is maintained. Perhaps it's a consequence of makeScriptedSprite() - possibly because there is no sprite in place to start with, and therefore no original height to maintain.
    Here is your script "SetStaticProp" with my amendments:
    property pMyLinkInfo
    property pSetMyFlashProps
    property mySprite
    on new me, iNum, bSetProps, lInfo
      mySprite = sprite(iNum)
      pSetMyFlashProps = bSetProps
      pMyLinkInfo = lInfo
      return me
    end
    on endSprite me
      mySprite = VOID
    end
    on exitFrame me
      if pSetMyFlashProps = 1 then
        mySprite.static = not (pMyLinkInfo.enabled)
        mySprite.label = pMyLinkInfo.name
        tHeight = mySprite.height
        mySprite.width = 160
        mySprite.height = tHeight
        pSetMyFlashProps = 0
      end if
    end
    and here is the amended fragment from your "Generate Link Instance" parent script:
      --****Next Line causes CheckBox to go missing********
      --  sprite(CheckBoxSnum).width = 160
      myScript = script("SetStaticProp").new( CheckBoxSnum, 1, duplicate(myInfo) )
      sprite(CheckBoxSnum).scriptInstanceList.add(myScript)
      gItemSelectionList.add(myInfo)

  • Arrange tab position on Tab set component

    We could create many tab with name in Tab Set component,
    let say i create tab set component with tab name :
    "Sales", "Distribution", "Marketing"
    could i move "Marketing" to the left and "Sales" to the center and "Distribution" to the right ?
    just like this :
    "Marketing", "Sales", "Distribution"
    because i can't find how to arrange that on properties menu
    Thanks

    Hi,
    Go to Object Browser and select the Tab set component. Expand the tree and select the tab(say Marketing) and use the arrow key in the bottom left corner of Object browser to move as per your requirement.
    Thanks,
    Amit

  • ESB - Is there a way to set context properties when using esb custom pipeline

    Hi there,
    I have a situation where I am using a oneway wcf sql custom receive adapter to polling db and a two-way solicit response wcf sql send adapter to update the db and receive a result back.
    Now I had got this working by setting the BTS.Operation and BTS.MessageType properties using a custom receive pipeline on the receive port. FOR SOME REASON THESE TWO WERE NOT SET BY THE RECEIVE PORT !!!
    Now I have decided to wrap all that in en ESB itinerary by converting the send port into a dynamic one.  I get the following error:
    Exception of type 'Microsoft.BizTalk.Message.Interop.BTSException' was thrown. 
    Since I am using the ESB pipeleine - ItineraryReceiveXML I am not able to set the BTS.Operation and BTS.MessageType explicitly in a pipeline neither can I derive a pipeline form the ESB pipeline as it's a sealed class.
    So my questions are:
    1. Any idea what the above error could be  ?
    2. Also is there a way I get set context properties using an ESB itinerary as that is the only difference from before, can I do that in a map ?
    Thanks
    Phanindra

    BTS.MessageType is typically set by one of the Disassemblers.
    BTS.Operation has nothing to do with the Receive Port/Location and is set by the Engine only when coming from an Orchestration Port.
    But, you can set any Property in any Stage with a custom Pipeline Component as you've found.
    "Exception of type 'Microsoft.BizTalk.Message.Interop.BTSException' was thrown."
    There's usually a lot more to the stack trace.  You'll have to include the whole thing.
    Finally, what benefit do you expect from adding the ESB layer?  This is pretty trivial with an Orchestration.

  • Set Global Properties for ADF components

    Hi everyOne....
    My question is the following .... let me know how I can set global properties for a component and not have to set the same property in each of them.
    Thanks
    Edmar

    Let me know if this answers your question:
    For Attributes : set the properties in EO or VO. [You can set all UI properties too]
    For labels: use Resource bundle
    For Layout Components to set the look and feel. CSS/Skinning would be the best.
    I guess this should cover most part of application.
    Amit

  • How to set CORS properties for BLOB Storage using node?

    Hi - I just got started with Azure using a Node-based web site and mobile services.
    I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
    In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
    I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
    http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
    Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
    What is the recommended way for setting CORS properties for the BLOB Storage via Node?
    Thanks for your help
    Stefan

    Unfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
    on your storage account. More information about this tool can be found here:
    http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
    Hope this helps.

  • Setting portlet properties on different pages

    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

  • How do I set file properties (win XP) ?

    Does anyone know how to set/modify a windows file properties inside Labview ? For exemple : change the author, the comment... etc.
    Thank you !
    J.K.

    Hello,
    It is not possible with advanced file I/O LabVIEW VIs.
    There is a possible workaround by using low level Windows functions in a dll.
    Perhaps the easier would be to set your properties at the top of your file.
    You will find some explanations here :
    http://forums.ni.com/ni/board/message?board.id=170&message.id=85101&requireLogin=False
    regards
    Marc L.
    NIF

  • Labels pointing to pie slices with lines (or how 2 set chart properties in code behind)

    I want to be able to create lines outside of my pie chart with labels and have those lines drawn to connect to the pie chart.  I saw that this can be done in code behind in the following thread:
    MSDN thread on lines to pie slices
    But my problem is I never declared an instance of my chart when I am using my code behind.  My code that makes the reports visible is basically (but not completely) the following:
    ReportDataSet.Tables.Add(ReportDataTable)
    ReportViewer.Visible = True
    Dim ReportDataSource As ReportDataSource = New ReportDataSource("ReportDataSource", ReportDataSet.Tables(0))
    ReportViewer.LocalReport.ReportPath = ReportToDisplay.RDLCFileName
    ReportViewer.LocalReport.DataSources.Clear()
    ReportViewer.LocalReport.DataSources.Add(ReportDataSource)
    ReportDataSource.Name = ReportToDisplay.DataSetName
    ReportViewer.DataBind()
    ReportViewer.LocalReport.Refresh()
    ReportViewer.ShowReportBody = True
    ReportViewer.Width = RVWidth
    ReportViewer.Height = RVHeight
    So how do I set chart properties for my report given the above code?  As long as I can set my chart properties with the above code, I should be able to get this to work given the above thread and the link to the Label-Outside-of-Pie and Line-Color properties
    (or whatever) info on Microsoft's info page

    Hello,
    Based on your description, you want to design a
    pie chart with outside lables and pie line inside a .rdlc report. If so, you can add the Chart report item into the report after open a client report definition (.rdlc) file in graphical design mode. And then Set the
    PieLabelStyle property and PieLineColor property. Please refer to the following screen shot:
    The link your post above it about the
    Chart Web server control. As pre my undersntand, you cannot reference a Web server control inside .rdlc file.
    If you have any question about using Chart Web server control, you can post a question on
    Chart Controls for .NET Framework forum.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • How do I set individual properties for a column in report layout at runtime

    How do I set individual properties for a column in report layout at runtime? I need to change this based on a user's input. This is for v10g.
    I need to change either the "Read from File" attribute or the "File Format" attribute for one column based on the user's input. IS this possible?
    Thanks in advance!

    Hi,
    define 2 columns and use format triggers to show the one or the other column.
    Regards
    Rainer

  • Dreamweaver Help | Set text properties in the Property inspector

    This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/set-text-properties-property-inspector.html

    The note at the bottom of the first section (About formatting text (CSS versus HTML)) says -
    "You can combine CSS and HTML 3.2 formatting within the same page. Formatting is applied in a hierarchical manner: HTML 3.2 formatting overrides formatting applied by external CSS style sheets, and CSS embedded in a document overrides external CSS."
    Please be aware that embedded CSS will ONLY override external CSS if the external CSS link is closer to the  tag than the embedded CSS (i.e., it comes earlier in the flow of the document).  If the embedded CSS comes first in the flow of the document, it will be overridden by the external CSS instead.

  • Setting MCF Properties in ESB RS

    Hi,
    Earlier I found out how to set MCF properties in BPEL for the FTP adapter to FTP to a given host that is determined dynamically on runtime. Is the same possible for ESB? I found out how to set header variable properties like filename and directory using the setheader xpath function in the xslt. But what would be the function/xpath expression for the mcf properties?
    Thanks in advance.
    Regards,
    Martien

    Hi James,
    The security risk is only if you have the MCF properties in the wsdl populated with real-live data, right? I would not use the values set as default in the wsdl, they could have un-real, dummy values. What I want to do is to have a scheduler (in our case Appworx) to maintain the destination values. And call our processes with the correct endpoint values. That way SoaSuite need not know what the end points are and also I do not have to have an FTP end point for each destination.
    So if I have one FTP endpoint that creates a certain file in a certain format I could reuse that by simply let it be called for another host,port,username,password by the scheduler.
    Regards,
    Martien

  • OMB: unable to set SQLLoader properties in a Mapping (TRAILING_NULLCOLS...)

    Hello,
    I've created a Mapping from a Flatfile to a table.
    Since SQL-Loader is used I have to set several properties (TRALING_NULLCOLS, FILELOCATION, etc)
    However, every property I try to set fails by the same error:
    OMBALTER MAPPING 'MAP_DIM_UNIT_TEST' \
          SET PROPERTIES (TRAILING_NULLCOLS) VALUES ('true')
    --> OMB02902: Error setting property TRAILING_NULLCOLS of MAP_DIM_UNIT_TEST: MMM1034: Property TRAILING_NULLCOLS does not exist.Reading and setting these properties on Mappings created by the Design Center was no problem.
    What am I missing?
    When configuring a Mapping in the Design Center I have to create the "SQL Loader Data Files".
    Maybe that's got something to do with it. I have no idea how to do that with OMBPlus.
    Any clue?
    Regards
    uhuebner

    Hi
    You should set the GENERATION LANGUAGE property to SQLLOADER for the map. The property set is different depending on the type of the map, the UI does some tricks I think and sets up, but the API does not (it does at certain points like generation/validation).
    Here are some other snippets you will find useful.....
    1. To add a source data file to a mapping:
    OMBALTER MAPPING 'LOAD_LOCATIONS' ADD SOURCE_DATA_FILE 'LOCATIONS_APAC'
    2. To define the discard file info
    OMBALTER MAPPING 'LOAD_LOCATIONS' MODIFY SOURCE_DATA_FILE 'LOCATIONS_APAC' SET PROPERTIES (DISCARD_FILE_LOCATION,DISCARD_FILE_NAME) VALUES ('APAC_FILE_STG_LOC', 'apac_discard.txt')
    3. To define the data file info
    OMBALTER MAPPING 'LOAD_LOCATIONS' MODIFY SOURCE_DATA_FILE 'LOCATIONS_APAC' SET PROPERTIES (DATA_FILE_LOCATION, DATA_FILE_NAME) VALUES ('APAC_FILE_STG_LOC', 'apac_data.txt')
    4. To define the bad file info
    OMBALTER MAPPING 'LOAD_LOCATIONS' MODIFY SOURCE_DATA_FILE 'LOCATIONS_APAC' SET PROPERTIES (BAD_FILE_LOCATION,BAD_FILE_NAME) VALUES ('APAC_FILE_STG_LOC', 'apac_bad.txt')
    5 To query the files it is not obvious (or consistent with other commands)...
    OMBRETRIEVE MAPPING 'SR_AGS_LDR' GET SOURCE_DATA_FILE
    Notice the 'GET SOURCE_DATA_FILE' is singular even though it possibly return a list (in most other commands some form of the plural is used ie. GET TABLE OPERATORS).
    Cheers
    David

Maybe you are looking for

  • Lost photos on photo stream

    I had 776 photos on my phone and equally the same on the photo stream. When I upgraded to the iphone 6 all my photos backed up onto the camera roll but there are now only 36 photos on the photo stream. Why is this? Is there a solution?

  • Synchronis​ation between Desktop Manager and Torch9800

    Hi Guys, When I perform a synch between my BlachBerry Desktop Manager software and my mobile device I lose data in the Microsoft Outlook note fields held on the desktop. It appears that some of my contact note fields on my Torch device are locked to

  • How to create new repository in Oracle 6i

    In a completely new Oracle 6i (R6.) installation there seems to be now way to create a new repository. All the help and documentation existing connections, expect a pre-existing database to exist, or a directory ORACLE_HOME\ADMIN\user\ to exist with

  • How to run weblogic server in background process on Windows XP 2002 ?

    Hi, I have installed weblogic server 9.2 in Windows XP 2002, I want to start my weblogic server and instances in background and keep running . Can anybody please provide information on the same ? Thanks in Advance, Kartheek.

  • Navigation structure with books and pages

    We are setting up a navigation system in Portal 8.1. When setting this up, we have run into some issues with the fact that books appear in the navigation structure, but contain no content. As a result, we have had to create a homepage for each book.