Bc4j Package Path/name Question

I am using this below mentioned package name, I just want to make sure my customizations are free from PATCHes.
oracle.apps.pay.xxxabc....
is it going to be ok? Please help.

You should use xxYOURCOMPANYIDENTIFIER.oracle.apps.pay....
--Shiv                                                                                                                                                                                           

Similar Messages

  • Creating Packages Recource Name Question

    I am trying to create a package combining the data grim a LightSwitch control. I have the following code in my application folder. but I don't know what to put in for the string ResourceName. I am trying to add this data to the excel Zip file in a way that
    it "creates" the table overwriting the current sheet1 and replacing it with one that has the Data From the Entity/Silverlight screen's grid which is filter by another table selecting the orders for a person. I get a Null not handled exception I believe
    because I am not address the resource right. Also were am I supposed to put the reference to the filtered Grid I am trying to access I am very new at building packages this way. also note there is code to Open(process Start) the other excel file but I can't
    seem to place it so it fires after the code for building the package runs this is necessary because the Process started package has links to the book1 I am trying to build.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO.IsolatedStorage;
    using Microsoft.LightSwitch;
    using Microsoft.LightSwitch.Security.Server;
    using Microsoft.LightSwitch.Framework.Server;
    using System.IO;
    using System.IO.Packaging;
    using System.Reflection;
    //added this to allow the process statement that opens excel
    using System.Diagnostics;
    using System.Linq.Expressions;
    namespace LightSwitchApplication
    public partial class ApplicationDataService
    private string _PackageName = "Book1.xlsx";
    partial void Commands_Inserting(Command entity)
    switch (entity.Argument)
    case "CreateDocument":
    //This opens the excel file from the current directory
    Process.Start("MAR mod1.1.xlsx");
    entity.Result = _PackageName;
    //Package, file name and Uri location
    Package package = Package.Open(_PackageName, FileMode.Open);
    Uri uri = new Uri("/xl/worksheets.sheet1", UriKind.Relative);
    //Content Type for Each Part
    PackagePart DocPart = package.CreatePart(uri, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml");
    string ResourceName = "Book1.xlsx.zip/xl/worksheets/sheet1.xml";
    Assembly ResourceAssembly = Assembly.GetExecutingAssembly();
    using (Stream DocPartStream = DocPart.GetStream(FileMode.Create))
    using (Stream DocSourceStream = ResourceAssembly.GetManifestResourceStream(ResourceName))
    DocSourceStream.CopyTo(DocPartStream);
    package.CreateRelationship(uri, TargetMode.Internal, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", "rID1");
    package.Close();
    break;
    Exception Detail
    System.NullReferenceException was unhandled by user code
      HResult=-2147467261
      Message=Object reference not set to an instance of an object.
      Source=Application.Server
      StackTrace:
           at LightSwitchApplication.ApplicationDataService.Commands_Inserting(Command entity)
           at LightSwitchApplication.ApplicationDataService.DetailsClass.__Commands_Inserting(ApplicationDataService d, Command e)
           at Microsoft.LightSwitch.Details.Framework.Server.EntitySetEntry`2.Microsoft.LightSwitch.Details.Framework.Server.IEntitySetEntry.InvokeInserting(IDataService dataService, IEntityObject entity)
           at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceImplementation`1.<>c__DisplayClass40.<PerformPreEvent>b__3a(IEntitySetEntry entitySetEntry)
           at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceImplementation`1.<>c__DisplayClass43.<CallPrePostUserCode>b__42()
           at Microsoft.LightSwitch.Utilities.Internal.UserCodeHelper.CallUserCode(Type sourceType, String methodName, String instance, String operation, ILoggingContext context, Action action, String additionalText, Func`1 getCompletedMessage,
    Boolean tryHandleException, Boolean swallowException, Exception& exception)
      InnerException:

    Thanks I have been doing research watching following video and this is my updated code in application.cs. I got the resource into my project manually by copying the whole zip file contents into the project file and then in file view I deleted and rebuilt
    the xml resource sheet 13 making it an embedded resource and left the rest of the package alone.
    video
    //This is what I have on the ApplicationData.cs end of things
    private string _PackageName = "Book1.xlsx";
    partial void Commands_Inserting(Command entity)
    switch (entity.Argument)
    case "CreateDocument":
    //This opens the excel file from the current directory
    Process.Start("MAR mod1.1.xlsx");
    entity.Result = _PackageName;
    //Package, file name and Uri location
    Package package = Package.Open(_PackageName, FileMode.Open);
    Uri uri = new Uri("/xl/worksheets.sheet13", UriKind.Relative);
    //Content Type for Each Part
    PackagePart DocPart = package.CreatePart(uri, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml");
    string ResourceName = "Patient Records.Server.Package.xl.worksheets.sheet13.xml";
    /*"Book1.xlsx/xl/worksheets/sheet1.xml";*/
    Assembly ResourceAssembly = Assembly.GetExecutingAssembly();
    int buffer;
    using (Stream DocPartStream = DocPart.GetStream(FileMode.Open))
    using (Stream DocSourceStream = ResourceAssembly.GetManifestResourceStream(ResourceName))
    buffer = DocSourceStream.ReadByte();
    while (buffer != -1)
    DocPartStream.WriteByte((byte)buffer);
    buffer = DocSourceStream.ReadByte();
    package.CreateRelationship(uri, TargetMode.Internal, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet", "rId13");
    package.Close();
    //opens the new package
    Process.Start("Book1.xlsx");
    break;

  • Packager fails with "Maximum file path name exceeded" on InCopy

    Attempting to build the full suite with CCP 1.5.0 Build 83, running on Window 8.1 update 64-bit.
    When building a 32-bit package it reaches InCopy it always stops and provides the so helpful "Maximum file path name exceeded error".  This appears to only happen when building the 32-bit package, building the 64-bit package caused no issues, and even in building the 32-bit package after the 64-bit package when everything is already downloaded the same error occurs.
    Tried it with:
    Cache path: C:\Users\iholmes\AppData\Local\Adobe\CCP\
    Destination path: F:\ISO\Adobe\Cloud\Working\CreativeCloud-06192014x86
    Also tried:
    Cache path: g:\Adobe\CCP
    Destination path: f:\cc\x86
    These are all local paths, not mapped network drives.

    Same here. From: C:\Users\<user>\AppData\Local\Temp\PDApp.log:
      <errorType>LongPathError</errorType>
      <filePath>C:\Users\<user>\AppData\Local\Temp\{839FDA1E-684B-4164-A8A0-AC83A4D37D3F}\AICY\ LS20\10.0\InCopy_10_LS20_Win32
    I can manually extract the zip file from:  C:\Users\<user>\AppData\Local\Adobe\CCP\AdobeCCPCache\AICY\LS20\InCopy_10_LS20_Win32.7z to the above path (which I think is what it's trying to do) with no error, so it seems to be something Adobe is going to have to fix.
    Someone else worked around it by creating a local user with a single character as the user name: Creative Cloud Packager Keeps Failing on InDesign: "Maximum File Path Name Exceeded"

  • Changing the BC4J package name?

    Hi All
    I created New Business Components Package for a project as xxxx.oracle.apps.pji.projperf.reporting.server.
    Now i need to change the name from xxxx to yyyy as
    yyyy.oracle.apps.pji.projperf.reporting.server.
    Please let me know how can i change the name of the package.
    Its urgent.
    Thanks

    Create your new BC4J package yyyy.oracle.apps.pji.projperf.reporting.server
    Now right click on each of the view objects in xxxx.oracle.apps.pji.projperf.reporting.server and select "Move package", choose your new BC4J package.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Long file and path names

    I have a dialog window where users can choose a file, the name and path of which is then displayed. The field where this is displayed isn't big enough to hold the typical long path names found on for example Windows. I was wondering if there is a standardized way of shortening/abbreviating the full path name already written up somewhere? I want my program to be portable ... I looked at how MS Word does it on Windows, and I could write a specialized function to copy that, but then it wouldn't work on other systems that use different path conventions, and I would like to keep the generality if possible. On word they do something like this
    C:/.../final directory/filename

    Kramis wrote:
    sure, that much I understand, but I wouldn't know how to create that sort of string from an arbitrary path name of unknown format. In Windows, for example, I could take the first three characters and then ..., but that might not work globally. The questions is about parsing and converting a path name from an arbitrary system.I'd just split the path into its 'final directory name' and 'file name' (with the universal Java path seperator of (/)), and stick '...' in front of it.
    So any path such as C:/blah/blah/blah/endpath/filename or /unix/path/blah/blah/endpath/filename would become .../endpath/filename regardless of platform.

  • Getting the local full path name of a file from an item File Browser

    Hi all,
    I would like to get the local full path name, of a file selected from an item 'File browser'.
    I see in wwv_flow_files the column 'name', but actually it's a kind of id like 'F1542335/myFile.gif' for example.
    What i want is the local path of this file ("C:\Documents and Settings\All Users\....\myFile.gif").
    I hope this is possible??
    Anyway, thanks all for reading.
    Ludo

    Hello, thank you for the answer.
    Please understand that I searched before posting, and not ony 15 min.
    What i mean is that the value of a File Browser in an Apex applocation is something like 'F1542335/myFile.gif', but what I need is the local path location.
    And 'F1542335/' is not the local path location, i can't use it. Or maybe there is a way to convert it in a proper path name, such as "C:\Documents and Settings\....", but I don't think so.
    So my question is : how to get the local path name of a file in Apex?
    I'll answer if I find some good things.
    Thanks
    Ludo
    Edited by: user12945874 on 06-avr.-2010 3:59

  • How to get the full path name of a file

    Hey everybody, I'm new here and in Java.
    so I will explain my question by giving an example:
    I want to send file from the Desktop by the "Send to" on the popup menu to my program.
    I want to know how can I read the full path name and the file name, and show it on my text box.
    Thanx alot

    If this is a client side application then I'd say look into drag-n-drop tutorials.
    i.e. drag file to your application, action listener fires, create File object giving you full name and path of users action.
    If this is a web application then look into the "multipart/form-data" content type specifications on how to upload files.
    i.e. user specifies file from <input type='file' ... /> type, submits, servlet receives data and recreates file locally on application server side.
    If you are thinking that all you need to send a file to a program is the full path and name in a textbox its a little bit more complicated then that.
    Good luck, hope that helps!

  • Specify the full package path

    Well, here is a real beginner question. How can i specify the full package path of SUNs java.io package? And another beginner question, where is this package located on my computer? (relative to my java sdk installion path of course)

    Acctually I have a severe problem with leJOS. Here is my code:
    import java.io.*;
    import josx.rcxcomm.RCXBean;
    public class PCModule
         public static void main( String[] args )
              recv();
         public static void recv()
              RCXBean rcxb = new RCXBean();
              try
                   rcxb.setComPort("USB");
                   while(true)
                        System.out.println( "Test" );
              catch( IOException e )
    }This should compile fine, if lejosc would use the SUN java.io But it intends to use the own implementation of java.io and I really need to find a workaround to this problem because otherwise the code wont compile throwing the error, that the out symbol cannot be resolved.
    Btw. this part of the program should listen to the mindstorms IR-Tower for messages of a RCX-Brig and wirte them to an output stream.
    Isn't there a way to force lejosc to use the java.io package from sun?
    P.S.: If I don't use the System.out-line everything is fine, so lejos is installed correctly and if write a java test app everything is fine, so the SUN Java SDK is installed correctly too.

  • Files with "alien" names in directories with very long path names

    Hi all,
    first of all - I dont know if this is the right forum for my Question,
    but I could not find any better ;-)
    I have a problem with some files with "alien" names with MIXED characters from different foreign countries
    (e.g. "Φέτα (τυρί) 只有沙盒或您的用户页可以用作測試ורת המבחנים בחינוך פור.txt").
    Sometimes - whenn those files are exists in a directory with a very long path name,
    then the windows api fails to handle these files.
    For example GetFileAttributesW() returns error 2
    and ntQueryDirectoryFile does not return this file in the list (etc. pp.)
    I have this behaviour not with other files in those directories (e.g. "abc.txt")
    and also not when those names are a little bit shorter
    or the directorys name is not too long.
    So I guess, there is a bug either in the API or in the file system...?!
    I know that such a file name is a generic one,
    but I have a situation where I have to handle any file with any name -
    even in directories with very long path names...
    So please no suggestions like "use shorter paths" or "convert it to a short name"....
    thx in advance and Best regards,
    dp.

    No need to call, your MSDN subscription has few free support incidents.
    Chat with the rep to submit an incident.
    Or find their phone number
    here.
    Good luck,
    -- pa

  • Invalid path name

    My old computer has microsoft money delux 2005 (backed up information on a stick) on my2nd new computer with windows 7 it has trial version of microsoft my money 5.
    When I try to restore my backup to 2nd new computer from stick (I follow all on screen directions and even click on the save filed that is on my stick) a box appears saying" the path name is invalid, please use valid a path name" 
    Please help to correct this problem. I am using the same backup procedure that I have always used.

    Hello,
    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
    Since your post is off-topic, I am moving it to the
    off topic forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to Create Server BC4J Package in OAF 10.1.3.3.0.3

    Hi all,
    Can any one help me out in getting clear about creating Server BC4J package in OAF 10.1.3.3.0.3,
    as in 9i we right click onproject.jpr file & click on new business componant package.but in 10.1.3.3.0.3 version there no option kindly help me out

    Hi,
    Seems you are new to forums. Pls close the thread if your question is answered by mentioning which reply is helpful or correct.
    Refer http://forums.oracle.com/forums/ann.jspa?annID=914
    -Anand

  • Report Path Name

    Hi,
    I have a main sequence file with 5 steps each of sequence call type. I use the multi threading option to generate individual reports for each of the sequences in the sequence call.
    I configured the report options call back for the main sequence. I gave a different directory path for the report in Parameters.ReportOptions.Directory . The report corressponding to the main sequence is getting generated in the specified directory. But the reports of the sequence calls are getting generated in the directory specified in the reports option menu.
    Is it possible to make the reports generate at the required directory by making changes in the main seqnece alone? How to modify the report path name stored in the report options dialog box in the menu.
    Regards
    Gopal

    Hi everyone,
    Just an update in reference to Gopals's question:
    Is it possible to programatically give value to the directory in Report Options in Configure>>Report Options. Either using expressions in teststand or from Labview code.
    TestStand 4.2 gives you the ability to specify the report path using Expressions as well right from the Report Options dialog box. For instance, this can come in handy in situations where you might want to put all Failed UUT reports in one location and all Passed UUT reports in a different location.
    For more information on this, refer to:
    NI TestStand Help: Specifying Report File Paths by Expression
    NI TestStand 4.2 Release Notes: Using Expressions to Customize Report File Paths
    For more information on the new features in TestStand 4.2, refer to:
    Whats New in TestStand 4.2
    Jervin Justin
    NI TestStand Product Manager

  • How to Change Package of  project and BC4J package

    I need to change the package of existing project and BC4J, before it was oracle.apps.xxcm.cms new package is oracle.apps.xxdl.cms, is there any way to change so that the entire BC4J packages Vo's EO's and java class files should change.
    Thanks
    Babu

    Babu, what Tapash said is correct the only option remains is to chaging package name in all files using grep and then manually changing the directory structure.
    --Mukul                                                                                                                                                                                                                                                                                                                                                       

  • Obtaining path name from PID

    Hi, this is a programming question that I have not been able to find an answer to, so I'm hoping someone here can help...
    I am writing a C++ program that will be called by several different scripts. The program needs to log its invocations into a file and we would like to record the full path name of the calling script (e.g. /abc/defgh/script1.sh).
    Rather than have the calling scripts explicitly pass their full path, I would prefer to have the called program determine it's caller's path. I know I can get the caller's PID but is there a way to translate that to the pathname? I tried opening /proc/<pid>/psinfo and looking up the 'pr_fname' member of the 'prpsinfo_t' structure but that didn't work.
    Any ideas?
    Thanks in advance for any help.
    spc

    you might want to take a look at pwdx and the proc
    man page in section 4. But be aware that a the point
    that you determine the working directory of the
    parrent process, it might have a different cwd than
    at the time your program was exec'ed.
    TomTom,
    thanks for the response. I did look at proc(4) and that's why I mentioned looking up the /proc/<pid>/psinfo file for each process. Unfortunately that did not give me the information I was looking for.
    As for pwdx it gives the current working directory of a process - not the directory where it was run from (e.g. a script could reside at /tmp/abc.sh but have /home/t/test as its cwd). Do you know how to determine the pathname of the script?
    thanks,
    spc

  • Problem with long path names?

    I tried to unpack the PHP eclipse package to a folder named like the ZIP package (pdt-2.0.0GA_debugger-5.2.15.v20081217-all-in-one-win32). WinRAR stopped with an error message (something like "file name to long"). I was unable to delete the folder until I shortened the directory name. Extracting worked only with a short path name.
    Did anybody experience something like this?
    Windows 7 x64 - Gigabyte EP-45-DS3 (Intel P45 chip set), 4GB RAM, ATI 4670

    I never used the compressed folder option nor I'm sure I really understand what this feature is.I can browse "into" an archive, open it like a folder (is this the "compressed folder" feature?). I extracted the sub folder via drag and drop. The extraction was very slow, but it finished. When I tried to delete the folder, there was an error message stating that the content could not be saved to the trash because of long file names.
    I repeated the test and initially created that awful long path which WinRAR was using (pdt-2.0.0GA_debugger-5.2.15.v20081217-all-in-one-win32) and extracted the archives content into that folder. This time extraction stopped with error message "0x80010135: path too long".
    All if seen so far seems to indicate that there's a max_path problem with Explorer (only x64 version?) and system parts based on it (like wastebasket), not only a problem with WinRAR.
    Windows 7 x64 - Gigabyte EP-45-DS3 (Intel P45 chip set), 4GB RAM, ATI 4670

Maybe you are looking for