How to change to native file name in ucm using custom component

I am having the requirement to change the  name of the native file to some PO_contentid_1 .
contentid is the contents content id. please help

Hi ,
This value is stored as dOriginalName and this is the one which would need to be modified .
Thanks,
Srinath

Similar Messages

  • How to change the RPD file name without deploying on EM

    Is there a way to change the RPD file name so it doesn't have BI0002 or BI0003 on the end of it? I can delete my BI0002 file and point the NQSConfig.ini file to my new FileName.rpd but when the BI services restart the BI0002 file reappears in the repository directory and the NQSConfig file changes to reflect this. It's like the only way you can change this is in the Enterprise Manager, but that always adds the suffix to the file.
    Any suggestions?
    Here's what the docs say:
    When you upload a repository, it is copied to the local repository directory for each Oracle BI Server component, located at:
    ORACLE_INSTANCE\bifoundation\OracleBIServerComponent\coreapplication_obisn\repository
    If you have published the repository in shared mode, then the repository is also copied to the shared network location.
    After the repository is uploaded, it is given a version number suffix (for example, SampleApp_bi001.rpd). This version number is incremented each time that the repository is uploaded. To revert to a previous version, you must re-upload the specific version of the repository to use.
    Note that you can delete older versions from the repository directory or shared network directory to reclaim disk space.
    What does that mean? I have to use an old rpd file in order to get rid of the suffix?

    Hi,
    It can be changed, although I do not no exactly how. You have to take a look at the MBeans which are used to deploy a new repository. The suffixed is used to insure you do not overwrite an existing RPD
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • How to change the excel file name which is in Application server...

    hi friends,
    my requirement is getting failed, when i'm trying to change the file name which is in Application server using the FM: SXPG_COMMAND_EXECUTE.
    when i execute above FM, i can see all my required details in SM69 like:
    COMMAND NAME: ZSPOOL_TEST1      
    OS: Windows NT
    TYPE: Customer 
    OS COMMAND: cmd rename Y:\OBRZ.PDF OBRZ38582.PDF
    once the above FM is executed, i'm getting SY-SUBRC = 2 (exception: COMMAND_NOT_FOUND).
    so, can any one guide me how to resolve this issue or is there any other way to rename the file which is in AS?
    thanks in advance...

    Hi ,
    First you can tranfer the AS server file to a new application server file.
    Then you delete the original file .
    To do that you can write code as follows --
    DATA : w_file(8) TYPE c VALUE 'FILE_NAM', " your present AS file name
           w_new(8) TYPE c VALUE 'NEW_FILE',
           fs_itab(255) TYPE c,
           t_itab LIKE TABLE OF fs_itab.
    OPEN DATASET w_file FOR OUTPUT IN BINARY MODE.
    DO.
      READ DATASET w_file INTO fs_itab. " Reading value from the AS file to field string
      IF sy-subrc NE 0.
        EXIT.
      ELSE.
        APPEND fs_itab TO t_itab. " Populating internal table form the file value
      ENDIF.
    ENDDO.
    OPEN DATASET w_new FOR INPUT IN BINARY MODE. " creating a new file if that does not exist
    LOOP AT t_itab INTO fs_itab.
      TRANSFER fs_itab TO  w_new. " Transfering to file
    ENDLOOP.
    CLOSE DATASET w_file..
    DELETE DATASET w_file. " Dleting the old file
    CLOSE DATASET w_new.  " Closing the final file
    Regards
    Pinaki

  • How to Change the defalut file name of PDF out of report (Version 6i)

    Dear All
    I have a report which opens from forms(Version 6i); the output of the report is in PDF. The generated file name is the same name as the report. Is there any way to give parameter name of the report as the name of the PDF out put of the report?
    For example I have a parameter called PATIENT_ID and my value is 25613 now I need the PDF out put name also 25613.
    Thanks and regards
    Sijo

    Use DESNAME to specify the output filename:
    set_report_object_property(repid, REPORT_DESNAME, :patient_id);

  • How to get the original file name in chinese with upload component?

    It is inconvenience for user to upload file with name only in english. When upload a file with chinese file name, the file name gotten from "fileUpload1.getUploadedFile().getOriginalName()" is just like "缃戠粶鍥�.jpg". Do somebody have a good idea?

    I spoke to the component engineers regarding this issue
    First please check if the s page encoding is set correctly, as browsers tend to default to use the encoding that was used for the page when submitting the request.
    (Because of how the JSF response writer is written, multibyte characters can be written correctly even if the encoding is not set correctly so the fact that form correctly rendered chinese characters is not proof that the encoding was set correctly).
    If you established that the page encoding is correct, then there is a
    bug in the FileUpload. The method that gets the name is a straight
    shot through to an Apache FileUpload library method. Technically this
    ought to be resolved by that method checking the request body
    character set before parsing the parameters.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • How to change Image source file name

    Hi,
    I have a logo image on my report that I want to change based on value of my query item. Can someone help me .....how can I change the source of my image item dynamically.
    Thanks
    Aali

    Hello,
    You can use a Formula Column and the property "Read From File" :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_read_from_file.htm
    Regards

  • How to change the excel file name which already exists

    Hi,
        I want to rename the already existing excel file, is there any way to do it in Lab View. Please help me in this regards.
    Regards
    Shiva Kumar Singh

    Use the "move" tool with the current path and new path as inputs. It's in the File I/O...advanced palette.
    LabVIEW Champion . Do more with less code and in less time .

  • How do I change the Home file name back to Home?

    Help! - How do I change the Home file name back to Home? My supplier changed it to Demo. I've tried pressing return, control click and Get Info but none gives access to change the name. Any ideas?

    The Home folder isn't named "Home." It is named for the user account it represents.
    Who is your "supplier?" Sounds like they're not terribly bright.
    Can you provide some details on why they "changed" it. Is this a brand new Mac? Were you having information transferred from another computer?
    It sounds like you just need to create a new account and get rid of "Demo."
    While logged into the "Demo" account, go to System Preferences in the Apple Menu.
    Click on Users & Groups
    If the padlock is locked, click on it and enter your password.
    Click the + button at the bottom of the list of users. This will create a new account. Fill in the information you'd like to use for your account. The account name is what will be used for the "Home" folder.
    Once created, select it from the list and check the box to "Allow user to administer this computer."
    You can then log out of "Demo" and log in as your new user. If there is nothing in the Demo account that you want, you can delete it from the Users & Groups System Pref.

  • How do I change the .php file name for a page of my site?

    how do I change the .php file name for a page of my site? The only link to the page is the nav. button link for it in the global nav. The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.

    The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.
    I don't understand this reason. How would changing the file extension solve your breadcrumb issue? Why don't you explain the issue in more detail.

  • How do you change a Photographs file name on a iMac?

    How do you change a photographs file name on a iMac?

    Same way as you change the name of any file: click on the file once to highlight it, change the name, click return.

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • How to specify the download file name??

    Hi guys~~~
    I have servlet which can generate a *.pdf file,I found if I didn't setContentType="application/pdf",I can download it!!But the download file name is my servlet file name.If I want to change the download file name,How do I do????
    thanx a lot!!!Best regard!

    Thanx for ur help...But I encounter a new charllenge now...
    I use a javascript(window.open("/myservlet")) to open the download file servlet.
    Everything is okay.But when I finish downloading the file which window I opened cant close itself automatically.
    I am really not understand the header parameter of the HTML header,could someone give me something about this??
    Thanx again!!!!

  • Search Based on Native File Name

    Hi Experts,
    I am working on an application that is talking to UCM through CIS.
    I want to search content items based on Native File Name.
    Please tell me how to search Content Items based on Native File Name ?
    Help Please!!!!!
    thanks

    Hi
    Search query should be : dOriginalName <matches>`term`
    it can be <matches> or <substring > operator depending on the requirement you have to do the search part .
    Thanks
    Srinath

  • When I change meta data, File name changes too

    In iTunes 11.1.3 I have been modifying the Music file ID3 tags (or what ever they're called).  I've found, though, that when I change the song name in the "Get Info" dialog box, it also changes the ACTUAL file name of the song.
    For example.
    I download a a CD and the CD information is downloaded.  Then when I drag the newly created mp3 into iTunes and select "Get Info" to modify all of the information.
    Once i hit Okay or Next.  I watch the File name in Finder change as well.
    How do I keep it from doing this?

    Event Video Guy wrote:
    you are a life saver 
    Event Guy,
    Glad it helped.  (I also do not like iTunes to mess with the filenames.)
    Enjoy the music!
    Ed

  • How do I get the file names on a customized proof sheet?

    How do I get the file names on a customized proof sheet?

    Actually, I really don't know what you say.
    But when you see the properties of a file in Windows, you can see there are two file size. One is called "SIze" and the other one is called "Size on disk".
    Therefore, I would like to know the size on disk but not just the size.

Maybe you are looking for

  • How to combine both DAQ AI signal, write and read file in single VI

    Hi  I am the new user of LabVIEW version 7.1 for testing automation application. I have to measure 33 signals ( mostly analog like temp, pressure, etc...) from NI USB 6210 DAQ system and write in master file for future verfication.From real data or f

  • AE and closed network...deactivated my AE and won't hard or factory reset

    Hi there. Simply set my AE to a closed network, but didn't get a chance to set name and password before AE shut down. Now I can't gain green light by unplugging and replugging, soft, hard or factory reset. Ugh! I can't locate AE on Airport Utility 1)

  • Does apple have anything comparable to microsoft office?

    I am currently using "text edit" to write letters and things like that for my grandma and I need an easier way thats similar to the layout of "Microsoft word starter 2010" is the one i have on my HP. thanks so much This computer is a Snow Leopard I m

  • CreateImage problem

    Hi, I'm trying to create an Image of a swing component and then display that Image. It seems that createImage doesn't really create anything. The following program demonstrates my problem: import java.awt.*; import javax.swing.*; public class ImageVi

  • Sun app server 8.1 vs 8.2 for jsf 1.1

    Currently we have download sun studio creator 2 which comes with sun app server 8.1 as its default server. We want to make our default server in studio creator 2 as app server 8.2, since our production environment is running on 8.2. Any help will be