How to change file location path at run time in OWB 10g

Hello all,
We want to load several files with the same name but from different folders into a single table.
The information about the paths is stored in an oracle table.
Is there any best practice to achieve this?
Our approach is to loop on the number of sources and execute the mapping after changing the location path. We found how to make the loop, and have the apropriate OMB command to update the location path, but we are still looking for a way to call this OMB plus command in a process flow or a mapping. Any idea?
We also succeeded in loading the file from an unregistered location, which is necessary to be able to update the path, but I'm not sure this is really the best approach. Any advise?
Thanks in advance for your help!
best regards
Cedric.

Hi,
I can provide you with an idea on this, dont know if it will work or not.
Suppose, you need to load 5 files in different folder locations into a single table. Call the mapping 5 times in a process flow. If you log in to the database, and go the table all_directories in your target schema, you will find an entry for the actual path of the file you are trying to laod. I think if this path is updated before each run of the mapping, you can load all files into the target table. Only thing you have to do is call a procedure which will update this record in all_directories table with the different locations each time you want and then plug in this procedure before each call to the mapping in a process flow and see if it works or not?
Regards
-AP

Similar Messages

  • How to change Content canvas size during run time?

    Hi All,
    I am using oracle 10g web forms and opening in Separate Frame. When I re-size the MID window, I want to change Content canvas size to window size. Is it possible to change content canvas size at run time? Even after using following statement it is not working.
    set_canvas_property('content_can', WIDTH, 200 );
    set_canvas_property('content_can', HEIGHT, 100 );
    Please help me.
    Regrads

    Francois,
    Yes, I have used messages, when get the current values (after setting new values) it shows right one but on the screen it is not accurate because
    it is going beyond the window size and it adding scroll bars. I am using window W&H minus some numbers. When I look at the help it says size in characters. How to set the Content canvas size in characters?
    Is it possible to change the Content Canvas size in Run time? Please help me.
    Regards.

  • How to change the view criteria at run time for af:query

    Hi,
    I've a usecase where I need to change the view criteria of the af:query at run time.
    Use case:
    =======
    1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
    2) I need to have a check box always in the query panel. Its mandatory.
    The way I implemented:
    ==============
    1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
    2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
    3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
    4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
    5) Overridden the queryListener as '#{EmpBean.empSearch}'
    6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
    public void empSearch(QueryEvent queryEvent) {
    // Add event code here...
    QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
    ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
    List<Criterion> criterionList = conCrit.getCriterionList();
    List criterionValues = new ArrayList();
    Object criteriaValue = null;
    int criteriaNo = 0;
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    for (Criterion criterion : criterionList) {
    AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
    System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
    criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
    if(criteriaNo==0) {
    Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
    if (val.equals(true)) {
    OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
    if(method!=null) {
    Map params = method.getParamsMap();
    //params.put(key, value)
    method.getParamsMap().put("bind_DeptId", 10L);
    method.execute();
    ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
    } else {
    //ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
    ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
    But this approach is not working and its always showing all the employees in all the departments.
    Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
    JDev version am using is '11.1.1.5'
    Thanks,
    Lakshman

    Hi Shay,
    It worked for me without overriding the executeQuery() method in the ViewImpl.java.
    Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
    Thank you.

  • How do i change the image path at run time in wpf ?

    I have a button and i need to show image two different image based on condition. 
    <Button x:Name="btn" MouseEnter="btn_MouseEnter_1">
    <Button.Template>
    <ControlTemplate TargetType="Button">
    <StackPanel Width="43">
    <Image Name="btnS" Source="Resources/main.png" />
    </StackPanel>
    <ControlTemplate.Triggers>
    <MultiTrigger>
    <MultiTrigger.Conditions>
    <Condition Property="IsMouseOver" Value="True" />
    <Condition Property="IsEnabled" Value="True" />
    </MultiTrigger.Conditions>
    <MultiTrigger.Setters>
    <Setter TargetName="btnS" Property="Source" Value="Resources/hover.png"></Setter>
    </MultiTrigger.Setters>
    </MultiTrigger>
    <MultiTrigger>
    <MultiTrigger.Conditions>
    <Condition Property="IsPressed" Value="True" />
    <Condition Property="IsEnabled" Value="True" />
    </MultiTrigger.Conditions>
    <MultiTrigger.Setters>
    <Setter TargetName="btnS" Property="Source" Value="Resources/audio-push.png" />
    </MultiTrigger.Setters>
    </MultiTrigger>
    <Trigger Property="IsEnabled" Value="false">
    <Setter TargetName="btnS" Property="Source" Value="/Resources/disabled.png" />
    </Trigger>
    </ControlTemplate.Triggers>
    </ControlTemplate>
    </Button.Template>
    </Button>
    I want to change the source of btnS at run time bases on condition.
    Suppose that if a = 1 then 
    btnS source is "Resources/main.png" this
    else btnS source should be "Resources/main1.png"
    same for mouse hover and enable disable triggers.
    Thanks,

    Hi Sumit,
    We can use
    VisualTreeHelper class to find Image control in visual tree.
    UIHelper.cs:
    public class UIHelper
    public static T FindChild<T>(DependencyObject parent, string childName)
    where T : DependencyObject
    // Confirm parent and childName are valid.
    if (parent == null) return null;
    T foundChild = null;
    int childrenCount = VisualTreeHelper.GetChildrenCount(parent);
    for (int i = 0; i < childrenCount; i++)
    var child = VisualTreeHelper.GetChild(parent, i);
    // If the child is not of the request child type child
    T childType = child as T;
    if (childType == null)
    // recursively drill down the tree
    foundChild = FindChild<T>(child, childName);
    // If the child is found, break so we do not overwrite the found child.
    if (foundChild != null) break;
    else if (!string.IsNullOrEmpty(childName))
    var frameworkElement = child as FrameworkElement;
    // If the child's name is set for search
    if (frameworkElement != null && frameworkElement.Name == childName)
    // if the child's name is of the request name
    foundChild = (T)child;
    break;
    else
    // child element found.
    foundChild = (T)child;
    break;
    return foundChild;
    Code Behind:
    private void Button_Click(object sender, RoutedEventArgs e)
    Image image1 = UIHelper.FindChild<Image>(btn, "btnS");
    if(image1!=null)
    image1.Source = new BitmapImage(
    new Uri("Resources/main1.png", UriKind.Relative)
    Screenshot:
    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.

  • How to change dynamically text label at run time in the forms

    Hi,
    I am having a form in which i want to change the text label dynamically. I mean when a certain condition match then text label should be change and when condition does not match then the text label should reamin as it is in the same form.
    plz help
    thanks in advance
    azhar

    Hi,
    Use this code to change the label at run time.
    set_item_property('deptno',prompt_text,'pagal dept');
    Prompt_text is used for changing label at run time.

  • How to set the pll path in run time environment

    kindly temme the solution for this

    I have same question but my version is 6i
    I also want to know is this with report too.
    My scenario is i make frm folder in other folder with folder with the name of module for pll i make foler at same level at frm with the name of lib how to resolve this

  • How to change the variable value at run time in logical column in RPD

    for e.g..
    i have used a session variable in logical column in rpd in case statement. now in dashboard prompt i am using that variable to store data which user is passing but the data captured is not getting reflected in the logical column.
    its been always populated with the default value passed through the initilization block..

    resolved myself

  • BI 7.0 infospoke - how to change standard destination path on appl. server

    Hello,
    I have the following problem:
    I need to extract large amounts of data from infocubes to flatfiles. I have created an infospoke to do this. However, in this infospoke, the destination path, when I choose application server, is fixed.
    In BW 3.x, there is a document "BW 3.1 Open Hub Extraction Enhancement Using Literal Filename and Path.pdf" that describes how to change the destination path for the application server.
    This solution does not work for BI 7.0, I get short dumps, probably due to ABAP OO.
    I need to extract the data to flat files on the application server, not on my local machine, nor into a table in SAP itself, so I need to change the destination path, because the amount of free storage is limited in the standard destination path.
    Has anyone encountered this problem in BI 7.0 and solved it?
    best regards
    Ting
    Edited by: Ting Kung on Jun 30, 2008 9:19 AM
    Edited by: Ting Kung on Jun 30, 2008 9:19 AM
    Sorry, wrong subforum, will close this

    Hi Ting.
      I never had a simmilar problem but, if you go to your InfoSpoke, right click --> "Change" you can see (and change... ) the following values:
    Destination Type: FILE  (the one you have choosen)
    Application Server: Check Box (I think this is your setting)
    Server name: (BW server)      
    Type of File Name: (Here you can choose Between "File Name" or "Logical File Name")
    Appl.Server File N: "MY_FILE.CSV" (for example)
    Directory: (The directory you want - take a look at the end of this post )         
    Separator: (The field separator)
    Note : If you are working with Linux or Unix you have to look if the BW system user has the corresponding rigths to write in the FileSystem.
    .          In the beginning I advice you to use something like this /usr/sap/<SID>/DVEBMGS<XX>/work
    Hope it helps.
    Regards.

  • How to change the library path from development machine to application serv

    hi
    how can i change the library path which i developed in windows machine and the library path is c:/fas/dss.pll and now i hosted all forms,menu,library and reports in application server that is running in linux machine now i want to know how to change the library path c:\fas\dss.pll to /oracle/fas/dss.pll.

    Hi !
    It is standard functionality to change ship-to party address in ISA B2C. This happens only from the checkout.inc.jsp. The ship-to party is part of the basket object.
    Cheers,
    Ashok.

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • Where is "save as" or how to change file type in Preview in Lion?

    Where is "save as" or how to change file type in Preview in Lion? I used to use Preview to change quickly change a lot of PNGs to either JPEGs or PDFs but with the introduction of versions auto save etc there no "save as" in the File menu. Any suggestions how to get this functionality back or how to get around it within OS X (no Photoshop etc)?

    Just wasted 15 minutes looking for that.  What's wrong with Save As?

  • Can TM Backup Files Located on G4 Running OS 10.4.11?

    Purchased MyBook and utilized the WD Backup software in order to backup files located on G4 running 10.4.11. Since then, have purchased a G5 iMac running 10.6.5.
    Before I reformat the MyBook in order to utilize TM to automatically backup the iMac, I'd like to ensure that I can also backup the G4 files using TM via File Sharing w/ethernet connection between the two computers.
    If TM can't do this automatically, I am prepared to copy the files from the G4 "manually" over to the WD MyBook once it is reformated. Since I am using the G5 almost 100% of the time, I am mostly concerned about creating a single backup of the entire G4 (which is already on the WD MyBook but will be lost if I reformat).
    What would be the best way to do that (creae a complete backup of the G4) if TM cannot be utilized?
    Thanks.

    Brae wrote:
    Purchased MyBook and utilized the WD Backup software in order to backup files located on G4 running 10.4.11. Since then, have purchased a G5 iMac running 10.6.5.
    A G5 iMac can't run OS X 10.6.5. Either it's an Intel iMac or it's running (at most) OS X 10.5.x. From your system details, it seems to be running OS X 10.5.6, in which case your message should have been posted in the Leopard area instead of the Snow Leopard area.
    What would be the best way to do that (creae a complete backup of the G4) if TM cannot be utilized?
    You could divide that WD disk into two partitions. Use one with Time Machine to back up the iMac. When you want to back up the G4, turn off Time Machine, dismount the WD disk, then use SuperDuper! (http://www.shirt-pocket.com/) or Carbon Copy Cloner (http://www.bombich.com/) to make a "clone" backup of the G4. After the backup is complete, dismount the WD disk, mount it on the G5, then turn Time Machine back on.

  • ICO file not displaying at run time?

    Hello Experts,
    I an using fusion 11.1.2.1 32 bit. I have Copied the Icons as well as GIF files in C:\Oracle\Middleware\Oracle_FRHome1\forms\java folder.
    At button property i set Iconic to yes
    and file = addrow
    Icon not display at run time.
    but when i set file = abc.GIF
    image is displaying at run time.
    My doubt is that ICO file not displaying at run time while GIF file are displaying.
    Do i need to change configuration ?
    Please do the needful.
    Thanks
    Yash

    Hi Yash,
    First Try this steps
    To resolve this issue, follow these steps:
    Double-click My Computer, and then click Options on the View menu.
    Verify that the Icon file type appears on the File Types tab. If the Icon file type does not appear in the Registered File Types box, skip to step 10.
    Click Icon in the Registered File Types box, and then click Edit.
    Verify that the following settings exist, and then click OK:
    The Description Of Type box contains Icon.
    If there is a Confirm Open After Download check box, it should be selected.
    If the settings do not appear exactly as listed in step 4, click Remove, click Yes, and then click OK. If the settings do appear as listed in step 4, skip to step 10.
    Click New Type.
    In the Description Of Type box, type Icon.
    In the Associated Extension box, type ICO.
    Click OK, and then click Close.
    Use Registry Editor to view theHKEY_CLASSES_ROOT\.icokey, and then verify that the default string contains the following value:icofileIf the .ico key does not exist, create it, and then insert the value listed above. If any other values exist in the .ico key, delete them.
    Use Registry Editor to view theHKEY_CLASSES_ROOT\icofilekey, and then verify that the default string contains the following value:iconIf the icofile key does not exist, create it, and then insert the value listed above. If any other values exist, delete them.
    Create a new key in the icofile key called DefaultIcon , and type %1 as this key's default value.
    Quit Registry Editor, and then restart your computer.
    Second Try this
    Simple way
    Copy your images to:
    1
    c:\Oracle\Middleware\as_1\forms\java\ 
    Notes:
    - Icon files may not be supported.
    - In case of a Java security issue when using gif images, you will need to create a jar file and sign it with oracles sign-tool (see below, point 6).
    - In case you having trouble with oracle’s sign-tool, do it directly with java’s
    Recommended way
    1. Create a “icons” folder and place all your gifs in there
    i.e. “c:\Oracle\Middleware\as_1\forms\java\<icons>”
    2. From within icons folder make a jar file of all the gif images:
    1
    jar -cvf frmicons.jar *.gif 
    3. Copy this new jar into “c:\Oracle\Middleware\as_1\forms\java\”
    4. Edit/update formsweb.cfg file:
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg  …to update/include:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    # Forms applet parameter 
    codebase=/forms/java
    # Forms applet parameter
    imageBase=codebase
    # Forms applet archive setting for other clients (Sun Java Plugin...etc)
    archive=frmall.jar,frmicons.jar
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar,frmicons.jar
    5. Edit/update Registry.dat file:
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
    1
    2
    default.icons.iconpath=icons/ 
    default.icons.iconextension=gif
    At this point your icons should work normally, but if you get a security check of Java for gif files then proceed to the next step to fix this. TIP: May need to restart the weblogic/forms server for changes to take effect.
    6. Sign your jar file with oracles sign_webutil.bat sign-tool.
    path = c:\Oracle\Middleware\asinst_1\bin\sign_webutil.bat
    Firstly, you need to edit the sign_webutil.bat as follows:
    1
    2
    3
    SET KEYSTORE_PASSWORD=my_password 
    SET JAR_KEY=webutil2 # will need to change for every run
    SET JAR_KEY_PASSWORD=my_password
    Secondly, set the environment path and finally run the command:
    1
    2
    3
    set path=c:\Oracle\Middleware\as_1\jdk\bin 
    cd c:\Oracle\Middleware\asinst_1\bin\
    sign_webutil c:\Oracle\Middleware\as_1\forms\java\my_icons.jar
    This will create your signed jar file. Once initialized from the web-app it should ask the user to “Trust” the certificate and never prompt again.
    Other issues you may encounter and may need to edit/update the following files/registry entries as well:
    formsweb.cfg
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    # Forms applet parameter 
    codebase=/forms/java
    # Forms applet parameter
    imageBase=codebase
    # Forms applet archive setting for other clients (Sun Java Plugin, ...etc)
    archive=frmall.jar, my_icons.jar
    ...or
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar, my_icons.jar
    Registry.dat
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
    1
    2
    default.icons.iconpath=/forms/java 
    default.icons.iconextension=gif
    Registry entries:
    1
    2
    UI_ICON:<path_to_icons_dir> 
    UI_ICON_EXTENSION: "gif": ".gif" "ico": ".ico"
    Credits and further information can be tracked for icons issue here and for jar file creation here.
    Hope this will help.

  • HT1449 I moved my itunes library to the time capsule. Everytime I put the computer to sleep, I have to change the location back to the time capsule. I cannot get the iTunes library to stay located in the time capsule.

    My itunes library does not stay in its new location in the time capsule. Every time I put the computer to sleep or leave it alone for awhile, the itunes location goes back to the original location in the macbook. Then I have to change the location back to the time capsule and wait for it to reorganize all the files again. So the question is how to keep my itunes in its new location the time capsule?

    Welcome to the discussion area!
    +Can someone please provide a definite answer, or at least warn against using the TC as a shared media device on a network. The whole point of getting such a device is to be able to offload large multimedia libraries from the laptops, yet access a shared library when networked. N'est ce pas?+
    We're all users here...not pros...so you'll get few definitive answers on a forum with varying opinions about almost every subject.
    My opinion would be this: Apple designed the Time Capsule for Time Machine to automatically backup all the files on your Mac and other Macs in the household on a regular basis and provide a way to retrieve a file that had been deleted recently by mistake. It's a pretty good router as well.
    If you check the info about the Time Capsule on Apple's site, the main features mentioned are backup of your Macs and a dual band wireless network capability.
    The Time Capsule was never designed to be a media server housing audio, video and other multi-media files and has never been promoted as such. Nevertheless, some users seem to have adopted the stance that this should be one of the benefits of the device, if not a main feature.
    There may be a need for media server type device, but the Time Capsule, at least at this time, is not the answer. If you feel otherwise, you might want to speak directly to Apple and let them know via Time Capsule Feedback.

  • Can I change a process flow at run time??

    Hello everybody,
    I work in Oracle BPMS 11.1.1.5. I need to change a process flow at run time due to changes in the business logic, I mean add, delete and modify tasks, navigation flow, etc. I know business rules can be modified using Oracle BPM Composer, but I couldn't find the way to modify the process flow. I have seen other BPMS, like BizAgi, for ex. that can do that. Do Oracle BPMS have that functionality? Please I need it a lot!!!!
    Regards and thanks in advance,
    isabelbernely

    Hi
    As JonPetter mentioned, you can get this and preferably get only from Support. I hope you have some license if you going to prod with this. Use that and if possible talk to your sales guy and create a support account. Then request the feature pack. The thing is, if we put it in some public shared location, it is the violation of using the oracle product. Unless someone takes risks they may upload but still its not advisable.
    Sorry
    Ravi Jegga

Maybe you are looking for

  • Can you include ibooks in RSS to PSM?

    Hello all We've tried to add an iBook to one of our Oxford iTunes U RSS feeds and have been surprised to discover it's not working for us in the same way that .epub files do. We are getting the unsupported resource extension error (text below). Could

  • Creation of invoices  for rent  in  SAP 4.7

    Dear All. I want to create invoices for rent in 4.7 version. i am not able to find the transaction or menupath for the same. Experts please guide. Regards. Varaprasad.

  • Tooltips Not Appearing in Firefox

    I searched for answer to this problem, which I thought must be common, but didn't find anything. I added a tooltip using Dreamweaver CS4 insert Spry tooltip option.  The tooltip appears with Internet Explorer 8, but not Firefox 3.5.7.  The tooltip is

  • To Create a work wook

    HI I have 3 queries  and want to open 3 queries in different sheet at one selection. and save them in as a work book can some please tell me the steps for this . thanks

  • 11g Windows Listener Problem

    Hi, I have recently installed 11g on my Windows box. I am getting the following problem when I try to use SQL Developer to connect via tnsnames: TNS-12514: TNS:listener does not currently know of service requested in connect descriptor It works fine