XML form: associate the file extension with an image

Hello!
I am creating some XML forms and i have to ulpoad a file.This isn´t a problem, but in RenderListItem I have to associate the file extension with an image(For example .doc with Word icon).Is it possible to do this? Thanks

Hello ,
I'm sorry, but this is not covered within the standart. You have the opportunity to do so in normal LayoutSets but not within a link in XML Forms. Maybe it's a workaround for you to provide a image selection for the author in the edit form, to select such an image manualy.
hope this helps,
Axel
Please consider rewarding points to helpful answers on SDN

Similar Messages

  • Associate .indd file extension with CS6

    I have not been able to associate the file extension with CS6 in Windows Vista. The .indd extension is already taken by another application, yet when I try to change it, it does not save.

    While highly unlikely as the reason, Vista was not tested and is not supported for CS6.
    What “other application” has the INDD association? Is it a different version of InDesign? Did you install the other version AFTER CS6?
    Bob

  • How to associate other file extension with text/xml

    Hi,
    I found that I could only load files into XDB via ftp when they had the file extension ".xml". Why is this?
    Thanks
    Pete

    The information as to which file extensions are associated with which mime-types is stored in the xdbconfig.file. You can add an entry using the following code
    connect system/oracle as sysdba
    call dbms_xdb.cfg_update
           updatexml
             dbms_xdb.cfg_get(),
             '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings',
             xmlelement
               "mime-mappings",
               xmlconcat
                 extract
                   dbms_xdb.cfg_get(),
                   '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping'
                 xmltype
                   '<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
                <extension>rdf</extension>
                <mime-type>text/xml</mime-type>
                </mime-mapping>'
    commit
    call dbms_xdb.cfg_refresh()
    set long 1000000
    set pagesize 0
    select dbms_xdb.cfg_get() from dual
    quit

  • Plz help , how do i associate a file extension with a j2me application

    i need to associate a file extension (.gpj) with my j2me application. in other words when i open a .gpj file i need the j2me application to launch.
    thankyou

    To accomplish this your device need to have an implementation of the Content Handler API (JSR 211)
    1. The class that handles the file extension should implement the ContentListener Interface
    2. you should register the listener to be notified of new requests
    ContentHandlerServer myhandler=Registry.forClass(this.getClass().getName());
    myhandler.setListener(this);3.implement the invocationNotify() method of the ContentListener interface to handle this file extension
    Cheers
    and don't forget your (generous) dukes ;D

  • Associate a file extension with my executable, how to receive filename?

    Hi
    I'm using flaslh profresional to create this application:   Edit_epl.exe
    I install the application.
    I make a file association extension because I want to do this:  when double-click on a file with the extension ".elp" then runs Edit_epl.exe.
       example doubleclick on:  "my_sample.epl"  ---> then runs Edit_eplp.exe.   so far,so good.  
    My question is how to know its filename (my_sample.epl) as "parameter" inside "Edit_eplp.exe"
    Can anyone help me?
    Thanks

    I solve it!
    Question:
    I want to click on a textFile  for example  hello.txt, with the content:   "My name is Fernando"
    1 - create an application   My_edit_txt.exe   (with only one text_field, MY TEXT)
    2 - install the application.
    3-  associate the extension txt  to my  editor: My_edit_txt.exe
    4-  when I click on hello.txt,
    5-  the system launches -> My_edit_txt.exe (so far works ok)
    6- then I dont know:  Inside My_edit_txt.exe:
    Which file clicked the user?
    Resolution:
       NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
    package silbo.esment.general.base_juegos
              import flash.desktop.NativeApplication;
              import flash.display.MovieClip;
              import flash.events.InvokeEvent;
              import flash.text.TextField;
              public class Clip_editor_epl extends MovieClip
                        public var t_texto:TextField;
                        public function Clip_editor_epl()
                                       super();
                                       NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
                        function onInvoke(event:InvokeEvent):void {
                                  mitrace("on invoke");
                                  mitrace("arg="+event.arguments);
                                  mitrace("file to open:"+event.arguments[0]);
                        function mitrace(trozo){
                                  if(trozo==null){
                                            trozo="";
                                  t_texto.appendText(trozo+"\n");
              }//clase

  • Computer associates .dwt file extension with AutoCAD (valid) - not DW Template. [was: roberth11148500]

    I have attempted unsuccessfully to create a webpage template using Dreamweaver CS6. On investigation I found that my computer was interpreting the dwt. suffix as an AutoCAD template rather than a Dreamweaver template.  I do have AutoCAD programmes on my computer and in that software dwt. is a valid suffix for templates.  Please someone kindly tell me how to overcome this problem?

    One way is to associate the extension with the relevant program as in Choose the apps Windows uses by default - Windows Help
    Another way is to right click the template file and choose Open With->Dreamweaver
    A third way, if you are running a PHP server is to give the temple a PHP extension as in myTemplate.dwt.php

  • Associate file extension with air app on Android

    Hi,
    I am trying to associate a file extension with my air app on Android. My goal is to be able to start my app by clicking on a file with a specific file type from either a file manager or mail app. I have found a solution that in theory would work in native, but does not with air somehow.
    In the .xml-file for the app, under the <android> tag I have written:
    <activity>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="file" />
                <data android:pathPattern=".*\\.csml" />
                <data android:host="*" />
            </intent-filter>
        </activity>
    Does anyone have an idea how this could be solved?
    Thanks in advance
    Jens

    If it works in a native app, it should also work in an AIR app in this case. Can you verify that it does work in a native app?
    See also:
    http://www.mail-archive.com/[email protected]/msg47862.html//www.mail-archive.com/[email protected]/msg47862.html
    http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-ext ension

  • Possible to associate file extension with webstarted app?

    A common property of microsoft apps is to associate file extensions with specifiec apps.
    For example, when you double click on a .xl file, Excel is launched.
    Can the same kind of thing be done for Webstarted apps? If so how?

    I have an idea on how to do this, but I have not tried it.
    1. On first launch, the application does an "install" before starting the main screen.
    2. The install checks the OS, and writes a .sh or .bat file to disk. That batch file runs the command-line to start the application. Hmm, but how does it pass along $*?
    3. The install associates the proper file extension with the .bat file, and/or with the unix file manager software, and/or with IE, Netscape, and Mozilla.
    Then, when a user clicks on a link to a document, or a file in the windows explorer, then the JWS application should lanch and load the file(s).

  • I'm having problems uploading video taken with my iPhone 4 to Photobucket.  FB will not accept the file extension which is ex. IMG_423.  They will play on my computer and will upload to Facebook.  Why is the phone taking video with this file instead of so

    I'm having problems uploading video taken with my iPhone 4 to Photobucket.  FB will not accept the file extension which is ex. IMG_423.  They will play on my computer and will upload to Facebook.  Why is the phone taking video with this file instead of something like .mov or mp4.  How can I change the extension after the fact and avoid it in the future?

    You said, "the 4 also has signal and wifi whereas the 5 has only wifi". By "signal", I'm assuing that you mean cellular signal. If so, that means your iPhone 4 is still active on your cellular number and your iPhone 5 is not. Contact your carrier to sort out which phone is active on your account.

  • Batch Rename with additional "."s, drops the file extension. Request for "Keep File Extension" option...

    I NEVER name files with extra "." s in the name. I realize that all OS's (even Windows) will recognize it, but I haven't gotten out the old mindset of 8.3 filenaming... Although I do use longer names. So... I was surprised to see that when I was renaming files as per a clients naming preference to add a period within the name, the file extension is removed.
    For example: 
    original file -  2014_10_31_1643.CR2   when batch renaming to "2014.31" + sequence, drops the "CR2" extension.
    but.... if I change it to "2014_31" + sequence, the ".CR2" remains
    Since adding multiple "." is a legitimate naming convention, shouldn't the file extension remain?  Or, possibly this could be made more flexible by adding a check box "Keep file extension"
    just a thought.

    Refer to this stackexchange article:
    http://apple.stackexchange.com/questions/47319/how-can-i-make-os-x-recognize-new -file-extensions
    The finder will only select the filename only for "known" file types.

  • I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloa

    I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloaded the numbers app thinking this would be a default software to open any and all spreadsheets.
    Please Help!
    Ipad 2- iOS5

    You may need a version without macros on it. Unfortunately, pretty much all apps are skinned down versions of their original program, often with less functionality. For example in a word document I can italicize,bold and underline, but I only have a handful of fonts to play with and I don't think I can insert tables or images.
    It is very possible that the app simply cannot run macros, which means that document may never work on an iPad.

  • On ESR 17, the DOCX attachments in my e-mail (I use Optonline) ignores the file extension. (my e-mail works fine with IE). This was fine with Firefox 10.0

    I have been using Firefox for a long time. I installed ESR 17 recently. Since then I can't open DOCX files in my e-mail (optonline.net). It comes up as "eFax Messanger files". It obviously does not reconginze the file extension because whe i try to open it using Word it reads it as if it was a text file. If I use IE I have no problem opening the same attachment in my e-mail. I know atleast two other people who have the same problem.

    See:
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file
    *http://kb.mozillazine.org/File_types_and_download_actions
    *https://support.mozilla.org/kb/Managing+file+types
    Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions

  • XML Forms on the Portal posting to an IDOC

    Scenario
    Goals
    1. Portal Based XML form being used by users to enter information
    2. Posting to an IDOC in R3
    Current Solution
    1. The XML form outputs a file to local file system through the EP
    2. XI then takes this file transforms
    3. XI Posts IDOC
    Question .
    Is there more elegant solution, making use of the file system to transfer files between system strikes me as "ugly". How would I configure the XML form to post directly to XI via a webservice call etc..., I understand how to make the service available in XI, Im just not sure how to make the EP post the XML XI so It can then post the IDOC ?
    Notes.
    1. The XML form has been developed using the Form builder in the Portal
    2. Both the Portal and XI are on NW6 at this stage.
    thanks

    Since researching a little I have discovered the idea of posting an XML form to an IDOC is flawed. So the desired archiecture is now, a form of some sort that can be visually appealing like an XML form that can post directly to an RFC in ECC.
    Enterprise Portal Form -
    > ECC (RFC)
    I have protyped this interaction with Guided Procedures in NW7 and it seems to work but the form presentation is still a mystery.
    How can I have complete control over the presentation of a form in GP to send the data into SAP, or is the visual composer a better solution ?

  • Associate a File Type with a JAR

    How do I get XP to associate a file type with a JAR application? Since the extension on the application is JAR, I get a message from XP that I can't associate with it since it is not exe.

    Look at the association for the JAR extension, you'll find that it uses javaw.exe and the "open" action is mapped to some command line involving javaw.exe and %1 which represents the jar file to be executed. Now, for your extension make a very similar setup, only your "open" command line will look something like this:
    "C:\...\javaw.exe" -jar YourSpecialJar.jar "%1" %*
    That command line runs your jar file and passes the file being "opened" to the command line as the first parameter. (I don't know what the %* does but it's in the command line for the jar extension.)

  • Why do the file extensions (.jpg .gif .png) no longer appear when I click on a previously saved image to use that image's file name (particularly important when saving a series of images using the same root name)?

    I save a lot of images using firefox, often times from a large batch or series of images. It used to be that I would click on a previously saved image and the entire file name including the file extension (i.e. image_example.jpg) would appear in the "save as" line. Now when I click on a previously saved file, the file name appears without the file extension (i.e. image_example). Which means I have to manually type .jpg every time. For a large collection of images that I am hoping to use the same root file name and then add chronological numbers at the end, this has become incredibly frustrating, especially as it is a previously unnecessary task.
    I am using a new Macbook Pro and maybe there's something Apple related to this...? It did not happen on my old PowerBook G4. I have file extensions turned on in System Preferences.
    It should be noted that I have searched high and low and have even gone into the Apple Genius Bar where they were just confused as I was and of course ended by urging me to use Safari (shocker!) as it has all kinds of new extensions and bells and whistles. I seriously feel alone on an island with this dumb, hard to google problem. Thanks so much for any help anyone out there might have.
    I mean: is this as simple as changing a setting in about:config?
    Your assistance is greatly appreciated.

    Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences.  And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro.  I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.

Maybe you are looking for

  • Disposition Area (MRP) in MM02 (BAPI_MATERIAL_SAVEDATA)

    Hi All, My mass upload program uses the FM BAPI_MATERIAL_SAVEDATA. Now I want to develope a mass upload program to create the disposition area of MRP. Q: Does someone know a FM or Global Class method that I can use for the mass upload program ?? Blac

  • Using attchment capability

    HI Experts, I have created the custom tables in ECC6.0 and also created rfc's for getList, getDetails and attachmentPic. The DO, header node is created in NetWeaver Mobile7.1(SDOE_WB), then backend adapters are also created there based on rfcs. All a

  • Corruption of User privileges on folder hierarchy (not taken into account ANYMORE)

    Hello. We use Portal 3.0.6.3.3 (still EA release) on NT with Oracle 8iR2. We have set a Content Area and a very classical folder hierarchy to be managed by a single user (called administrator having all privileges on all folders) and other users havi

  • Very slow booting

    Hi, I just built a new pc (using my old hard drive which i formatted) and when it boots it is so slow.   The first screen with the MSI logo where it asks you to hit tab to post or del to enter set up, it literally sits on that screen for 20 seconds o

  • Add a hotmail account to ios mavericks mail

    How can I add a hotmail account to the mail ?