Metadata and extensions.

I want to write metadata to any file. Is that possible?
And what about folders, can I write metadata to a folder?
Could any one help me by modifying this js code snippet to acheive that:
app.synchronousMode = true;
var pathToLib = Folder.startup.fsName + "/AdobeXMPScript.framework";
var xmpLib = new ExternalObject ("lib:" + pathToLib);
var thumb = app.document.selections[0];
var myFile = thumb.spec;
var myXmpFile =  new XMPFile(myFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
var myXmp = myXmpFile.getXMP();
myXmp.setLocalizedText( XMPConst.NS_DC, "title", null, "x-default", "Some Text");
var updatedPacket = myXmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
thumb.metadata = new Metadata(updatedPacket);
myXmpFile = new XMPFile (myFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_READ);
myXmp = myXmpFile.getXMP();
var myTitle = myXmp.getProperty (XMPConst.NS_DC, "title[1]");
$.writeln (myTitle +"");
app.synchronousMode = false;
Thanks for any one read this, and much thanks for any answer.

http://forums.adobe.com/message/4441976

Similar Messages

  • Cannot get Sample Metadata UI Extensions to Show in Adobe Bridge

    In the Adobe XMP Metadata UI Developer's Guide it shows:
    Viewing the sample panels
    To see the results of these definitions in an Adobe application, install the Metadata UI Extension package
    in one of the user-specific or general shared resource folders:
    MAC OS: [user]/Library/Application Support/Adobe/XMP/Metadata Extensions
    /Library/Application Support/Adobe/XMP/Metadata Extensions
    When I place the "Sample Extension" files in /Library/Application Support/Adobe/XMP/Metadata Extensions, none of the sample panels appear in Adobe Bridge.
    What am I doing wrong?
    Help!

    Hi David,
        You are using Bridge CC not Bridge CC 2014. The document you are referring will not work for CC.
        You need to follow the earlier documentation (hope you will find on devnet). For your reference I am putting the following code, save it in file name "sample.xml". Put this file on the path where you have installed bridge\Custom File Info Panels\4.0\custom. Restart bridge if it is not visible, check in bridge preferences and check the checkbox.
    Code for sample.xml is
    <?xml version='1.0' encoding='UTF-8'?>
    <xmp_definitions>
      <xmp_schema prefix='mypanel' namespace='http://ns.adobe.com/mypanel/' label='$$$/my/FileInfoLib/Panels/Name=mypanel'>
             <!-- simple properties -->
            <xmp_property name="Text" category="external" label="$$$/Custom/Panel/Document Title=Property 1 Name:" type="text"/>
            <xmp_property name="Text2" category="external" label="$$$/Custom/Panel/Credit=Property 2 Name:" type="text"/>
            <xmp_property name="Bool1" category='external' label="$$$/Custom/Property/BooleanInput_Label=Check Box Input:" type='boolean'/>
            <xmp_property name="Bool2" category='external' label="$$$/Custom/Property/BooleanInput_Label2=Check Box Input2:" type='boolean'/>
      </xmp_schema>
    </xmp_definitions>

  • Expanded Metadata and Keywording Support

    I have been trying to work with Metadata and Keywording for photographs lately, and I have been a bit frustrated with how vague the subject is. I feel that the ability to find photos using a standardized controlled language is a very important topic as digital photo collections grow larger and larger.
    I had an idea of one place where Adobe and the Lightroom and Photoshop teams could help and I don't think that there would be too much development work involved.
    In the past Adobe worked with IPTC to come up with Metadata templates which are now standard in Photoshop as the IPTC Core. IPTC also has put together an extensive albeit difficult to use (in its current format) set of Codes for the Core fields. My idea is this; incorporate the IPTC Codes into the Core templates in both Photoshop and Lightroom as a dropdown field instead of a free format field. This way photographers could begin to use a globally accepted controlled vocabulary as part of their metadata strategy.
    I would also love to see Adobe use its position as an industry leader on standardization to work with leading archivists to write White Papers on the subject of keywording and controlled vocabulary and provide accepted strategies and conventions for setting up a metadata system. It would also be great if these same experts could work on an expanded number of Keyword Sets to help photographers kickstart their keywording efforts.

    The utility "psedbtool" will write metadata (keywords, captions, notes, dates, star ratings) to the metadata of most file formats, and for formats that it doesn't understand, it will write .xmp sidecars:
    http://www.johnrellis.com/psedbtool/photoshopelements-6-7-faq.htm

  • Split filename to file and extension

    Hi experts,
    Does any know a FM or class, which is released and I can use to get the file name and extension?
    Normally I used the FM SPLIT_FILE.
    But this FM does only exports CHAR3.
    So I get a problem with new office-files (XLSX, DOCX)...
    thx for any help

    hi  ,
    Data : f1(20) type c ,
               f2(5) type  c,
              c_tab  type c value  '.' .
    data: f_name(30) type c value 'TEST.EXE' .
    split  F_NAME AT C_TAB INTO F1 F2 .
    Regards
    Deepak.

  • Simple Bridge script will not read metadata and triggers Adobe Stock Photos

    I have been trying to learn to write scripts for bridge but can't get past the most basic tasks. When I run the script on an open window in bridge it throws an "Uncaught exception metadata" error. The most bizarre thing is it sometimes causes an Adobe Stock Photo script to launch in the extendscript toolkit and throw and the "Uncaught exception metadata" error in that script. My script is as follows:
    #target "bridge"
    if (BridgeTalk.appName == "bridge")
    var items = app.document.visibleThumbnails
    for (i=0; i< items.length; i++)
    item = items[i]
    md=item.metadata
    md.namespace = "http://ns.adobe.com/photoshop/1.0/";
    Window.alert(md.Title)
    Window.alert(i + " "+ " Files Finished")
    Basically I was asking to extract the title of each thumbnail from the metadata and show it in a window. I figured if I could do something as basic as that then I could move on and tackle the more complicated tasks that I need to do.
    Any ideas of what is going on? Has anyone else accidentally triggered Adobe Stock Photos?

    Another bit of info....   As I looked at this further, it seems to be occuring only on those photos where I previously ran camera raw from CS3. I've upgraded to CS5 but have not rerun camera raw since. I understand the camera raw engine in CS3 was different. Could this be involved? Could Lightroom be changing the metadata because the engine is updating the information and I have to save TO file to get this to synch?
    update about this camera raw engine possibilty..... it would not appear to be the answer. I have some files that synch even tho lightroom develop says they are using the 2003 process version. I have some files that are on the new version that won't synch.

  • Error updating Dreamweaver and Extension Manager CS6 (Creative Cloud)

    Hello,
    I'm having troubles updating Dreamweaver and Extension Manager CS6 (Creative Cloud) on Macbook Pro with OS version 10.8.2. I get this error codes for both updates U44M1P7.
    The log files are generated.
    Here is an extract (last lines) of the dreamweaver log file (Adobe Dreamweaver CS6 12.2.0 04-16-2013.log):
    04/16/13 10:17:39:997 | [INFO] |  | OOBE | DE |  |  |  | 118619 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:39:997 | [INFO] |  | OOBE | DE |  |  |  | 118619 | Installer Operation: PayloadUninstaller
    04/16/13 10:17:39:997 | [INFO] |  | OOBE | DE |  |  |  | 118619 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:39:997 | [INFO] |  | OOBE | DE |  |  |  | 118619 | Session {A9861095-6F8C-11E2-B313-84E4FE4B0A47} modify request for AdobeCode: {CB894C92-6F8C-11E2-B313-9980D700C45F}
    04/16/13 10:17:40:024 | [INFO] |  | OOBE | DE |  |  |  | 118619 | Effective AdobeCode for: {CB894C92-6F8C-11E2-B313-9980D700C45F} is {CB894C92-6F8C-11E2-B313-9980D700C45F}
    04/16/13 10:17:40:070 | [INFO] |  | OOBE | DE |  |  |  | 118619 | PDB install manipulation failed
    04/16/13 10:17:40:098 | [INFO] |  | OOBE | DE |  |  |  | 118086 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Operation complete. Setting status: -1 =*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:40:098 | [INFO] |  | OOBE | DE |  |  |  | 118086 | :: END TIMER :: [Payload Operation :{CB894C92-6F8C-11E2-B313-9980D700C45F}] took 101 milliseconds (0.101 seconds) DTR = 39.604 KBPS (0.0386757 MBPS)
    04/16/13 10:17:40:099 | [INFO] |  | OOBE | DE |  |  |  | 118086 | User specified overrideFile:
    04/16/13 10:17:40:101 | [INFO] |  | OOBE | DE |  |  |  | 118086 | The csu inventory was not updated for payload Adobe Dreamweaver CS6_12.2.0_AdobeDreamweaver12de_DELanguagePack 12.2.0.0 {CB894C92-6F8C-11E2-B313-9980D700C45F}, value of local var is -1
    04/16/13 10:17:40:101 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Calling the ROLLBACK custom action code for pre-install for payload Adobe Dreamweaver CS6_12.2.0_AdobeDreamweaver12de_DELanguagePack 12.2.0.0 {CB894C92-6F8C-11E2-B313-9980D700C45F}
    04/16/13 10:17:40:143 | [INFO] |  | OOBE | DE |  |  |  | 118086 | No operation.  We're done:
    04/16/13 10:17:42:147 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Total components installed: 0
    04/16/13 10:17:42:147 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Total components repaired: 0
    04/16/13 10:17:42:147 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Total components removed: 0
    04/16/13 10:17:42:147 | [WARN] |  | OOBE | DE |  |  |  | 118086 | DW050: The following payload errors were found during install:
    04/16/13 10:17:42:147 | [WARN] |  | OOBE | DE |  |  |  | 118086 | DW050:  - Adobe Dreamweaver CS6_12.2.0_AdobeDreamweaver12-mul: Patch already installed
    04/16/13 10:17:42:147 | [WARN] |  | OOBE | DE |  |  |  | 118086 | DW050:  - Adobe Dreamweaver CS6_12.2.0_AdobeDreamweaver12de_DELanguagePack: Install failed
    04/16/13 10:17:42:147 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Call PostSession Custom Hook
    04/16/13 10:17:42:147 | [INFO] |  | OOBE | DE |  |  |  | 118086 | ::START TIMER:: [Post session :{A9861095-6F8C-11E2-B313-84E4FE4B0A47}]
    04/16/13 10:17:42:148 | [INFO] |  | OOBE | DE |  |  |  | 118086 | In ReinstallSessionCloseProc
    04/16/13 10:17:42:148 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Custom action return code: 0
    04/16/13 10:17:42:148 | [INFO] |  | OOBE | DE |  |  |  | 118086 | :: END TIMER :: [Post session :{A9861095-6F8C-11E2-B313-84E4FE4B0A47}] took 0 milliseconds (0 seconds)
    04/16/13 10:17:42:148 | [INFO] |  | OOBE | DE |  |  |  | 118086 | :: END TIMER :: [Total Timer] took 17239 milliseconds (17.239 seconds) DTR = 1.16016 KBPS (0.00113297 MBPS)
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | -------------------------------------- Summary --------------------------------------
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 |  - 0 fatal error(s), 0 error(s)
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | OSX version: 10.8.3 
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 |
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | -------------------------------------------------------------------------------------
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 |
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | Exit Code: 7 - Unable to complete Silent workflow.
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | END - Installer Session
    04/16/13 10:17:43:150 | [INFO] |  | OOBE | DE |  |  |  | 118086 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Here is an extract (last lines) of the extension manager log file (Adobe Extension Manager CS6 6.0.5 04-16-2013.log):
    04/16/13 10:17:17:287 | [INFO] |  | OOBE | DE |  |  |  | 117458 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:17:287 | [INFO] |  | OOBE | DE |  |  |  | 117458 | Installer Operation: PayloadUninstaller
    04/16/13 10:17:17:287 | [INFO] |  | OOBE | DE |  |  |  | 117458 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:17:287 | [INFO] |  | OOBE | DE |  |  |  | 117458 | Session {7E13F325-CE11-42B3-BFD8-C15A8296EACB} modify request for AdobeCode: {7E13F325-CE11-42B3-BFD8-C15A8296EACB}
    04/16/13 10:17:17:316 | [INFO] |  | OOBE | DE |  |  |  | 117458 | Effective AdobeCode for: {7E13F325-CE11-42B3-BFD8-C15A8296EACB} is {7E13F325-CE11-42B3-BFD8-C15A8296EACB}
    04/16/13 10:17:17:364 | [INFO] |  | OOBE | DE |  |  |  | 117458 | PDB install manipulation failed
    04/16/13 10:17:17:388 | [INFO] |  | OOBE | DE |  |  |  | 117373 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Operation complete. Setting status: -1 =*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:17:388 | [INFO] |  | OOBE | DE |  |  |  | 117373 | :: END TIMER :: [Payload Operation :{7E13F325-CE11-42B3-BFD8-C15A8296EACB}] took 102 milliseconds (0.102 seconds)
    04/16/13 10:17:17:389 | [INFO] |  | OOBE | DE |  |  |  | 117373 | User specified overrideFile:
    04/16/13 10:17:17:391 | [INFO] |  | OOBE | DE |  |  |  | 117373 | The csu inventory was not updated for payload Adobe Extension Manager CS6_6.0.5_AdobeExtensionManager6.0All 6.0.5.0 {7E13F325-CE11-42B3-BFD8-C15A8296EACB}, value of local var is -1
    04/16/13 10:17:17:391 | [INFO] |  | OOBE | DE |  |  |  | 117373 | Calling the ROLLBACK custom action code for pre-install for payload Adobe Extension Manager CS6_6.0.5_AdobeExtensionManager6.0All 6.0.5.0 {7E13F325-CE11-42B3-BFD8-C15A8296EACB}
    04/16/13 10:17:17:433 | [INFO] |  | OOBE | DE |  |  |  | 117373 | No operation.  We're done:
    04/16/13 10:17:19:436 | [INFO] |  | OOBE | DE |  |  |  | 117373 | Total components installed: 0
    04/16/13 10:17:19:436 | [INFO] |  | OOBE | DE |  |  |  | 117373 | Total components repaired: 0
    04/16/13 10:17:19:436 | [INFO] |  | OOBE | DE |  |  |  | 117373 | Total components removed: 0
    04/16/13 10:17:19:437 | [WARN] |  | OOBE | DE |  |  |  | 117373 | DW050: The following payload errors were found during install:
    04/16/13 10:17:19:437 | [WARN] |  | OOBE | DE |  |  |  | 117373 | DW050:  - Adobe Extension Manager CS6_6.0.5_AdobeExtensionManager6.0All: Install failed
    04/16/13 10:17:19:437 | [INFO] |  | OOBE | DE |  |  |  | 117373 | Call PostSession Custom Hook
    04/16/13 10:17:19:437 | [INFO] |  | OOBE | DE |  |  |  | 117373 | :: END TIMER :: [Total Timer] took 3213 milliseconds (3.213 seconds) DTR = 4.97977 KBPS (0.00486306 MBPS)
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | -------------------------------------- Summary --------------------------------------
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 |  - 0 fatal error(s), 0 error(s)
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | OSX version: 10.8.3 
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 |
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | -------------------------------------------------------------------------------------
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 |
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | Exit Code: 7 - Unable to complete Silent workflow.
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | END - Installer Session
    04/16/13 10:17:20:438 | [INFO] |  | OOBE | DE |  |  |  | 117373 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Regards
    Jan

    In this log file I can see you are getting Error : U44M1P7 while updating the software
    This Error comes where language packs for software are not installed properly on the machine.
    I would suggest to update Adobe Application manager from
    Windows : http://www.adobe.com/support/downloads/detail.jsp?ftpID=4773
    MAC: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4774
    then try to install the update if still you are not able to update software and getting same error then uninstall all the Adobe software selecting remove prefernces.
    After uninstalling the software run the Adobe Cleaner tool(http://www.adobe.com/support/contact/cscleanertool.html) and remove the leftovers.
    Regards,
    Jatin Dembla

  • How can I move my preferences and extensions to a new computer? Have I done it successfully?

    My old computer crashed. I've set up the new computer. I copied all the profile files/folders to the profile on the new computer in both the local and roaming folders.
    Does this copy over my preferences and extensions? The help pages say they don't tell how to copy those since they can be the cause of problems. However, they weren't problems. So I want them copied. The extensions folder on the old computer was empty (I don't recall if It'd had any installed or just bookmarked some.) I remember making some specific preferences changes in that "advanced" file (that worked fine afterward.)
    So with what I did, did I successfully copy everything over? If not - where are the extensions and preferences so that I can copy them over?
    Bonus big question - is there a way to merge my old browsing history with the history on the new computer that I used for 10 days? Right now I set those 10 days as a separate profile, so I can save and go check it if I really need to.
    Thanks!

    Take the good profile and copy it to the new computer. Also copy all
    of your add-ons. On the new computer, start Firefox. Once it is running,
    shut it down. Then transfer the information from the old profile to the new.
    Thess add-ons can save all add-ons into a single folder for transfer.
    These add-ons can be a great help by backing up and restoring Firefox
    '''[https://addons.mozilla.org/en-US/firefox/addon/febe/ FEBE (Firefox Environment Backup Extension)]''' {web link}
    FEBE allows you to quickly and easily backup your
    Firefox extensions, history, passwords, and more.
    In fact, it goes beyond just backing up -- It will actually rebuild
    your saved files individually into installable .xpi files.
    It will also make backup of files that you choose.
    '''[https://addons.mozilla.org/en-US/firefox/addon/opie/ OPIE]''' {web link}
    Import/Export extension preferences

  • How to fix privacy and extensions tab that are blank (using Safari 5.1.7)

    I have looked at the help provided in this forum for fixing the privacy and extension tabs that happen to now be blank.  However, being new to a mac, I was not able to follow those instructions.  If anyone can give me some help/guidance, I would really appreciate it.  Also, what exactly does the privacy tab do?  If it has been blank for a while and I have been to websites and used my credit card information was it secure?  Thanks so much in advance for any/all help.  TAD

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • How can I save ONLY the bookmarks and extensions

    I am about to do a clean reinstall of Firefox. I want to save ONLY the Bookmarks and Extensions and NOTHING ELSE from the Firefox Profile. How can I do this please?
    Thank you,

    Both answers combined to help solve the problem. It would be good if more than one answer can be selected as "Chosen Solutions", because this situation occurs often in forums.
    Thank you to both of you!
    Kind regards.

  • How to know the filename and extension of a file in PKCS7  envelope

    Hi! I've a programm that makes a PKCS7 file. I'm enveloping just one file at a time. I want to know if there is a way to know the filename and extension of the file INSIDE de PKCS7 envelope. Because I receive a file that has .p7 extension, but the real document, the one to be decyprted, I don't know its name nor its extension, and I need both for writing it (I will not just invent some name).
    Best regards!

    The construct of the PKCS7 structure you have, is defined in rfc2633. The part defining EncapsulatedContent is introduced in CMS [rfc2639], where no such attribute for a file name is saved in the structure.
    In some occasions, when it is critical, organizations add own object identifier and attibutes to save such descrptivie information as filename and extension.
    A practical approach is, on the signing side, sign the file A.ext to A-ext.p7m resp. A-ext.p7s
    You can not assume a global approach to get back the original filename (if you have no agreement on not the signing peer as above) of the encapsulated data. The reason is, the encapsulated data field is general and it does not neccesarily mean it was a file (a part of a stream or any definite sequence of bytes in general).

  • DMS - file name and extension

    Hi everybody,
    I will appreciate if somebody could tell me how to read the file name and extension of already uploaded to DMS document (a function module will be best but name of db table is ok too). Is this information stored in SAP DB at all?
    Thanks
    Ogniana

    Check
    http://help.sap.com/saphelp_erp2004/helpdata/en/c6/893d55449311d1893e0000e8323c4f/content.htm
    Regards,
    Santosh

  • Every time i go to a site or and extension of a site i use a lot it asks me if it can you adobe flash I want to know how to make it so it just allows all site

    Every time i go to a site or and extension of a site i use a lot it asks me if it can you adobe flash I want to know how to make it so it just allows all site to just start it. I only go to mainstream sites so its not a security issue. I have gone into the adobe settings in my control panel and allow sites to store info on my PC so any other suggestions? thank you to anyone who can help.

    Have you tried the Reset Safari... in the pull down menu under Safari?
    Allan

  • Firefox 8 and 9beta. Back and Forward buttons greyed out. Right click menu also has forward and back greyed out. Updated all plugins, then disabled all plugins and extensions and started in safe mode. No change.

    My forward and back buttons are greyed out after update to Firefox 8. Tried to move to 9 beta, but same behavior. Back and Forward also greyed out in right click menu.
    Attempted to fix by updating all plugins and extensions, then disabled all plugins and extensions, and then tried to start in safe mode. Nothing worked.

    You could have backed up your profile folder. If you did, [[Recovering important data from an old profile]] can help :)

  • Getting Output filename and extension same as the incoming filename and extension

    I need to create a SFTP send port where I should get the output file name and extension same as that of the incoming filename
    I had set the filename in the send port as "%SourceFileName%" but this did not work.
    I have also assigned the input filename (without extension) in a variable in orchestartion. Is there any way i could get the output filename and extension same as that of the incoming message?
    Any help would be much appreciated

    Hi,
    The %SourceFileName% macro maps to the context property BTS.ReceiveFileName that travels with your message in the context. So in order for this macro to work in a send port the message that is going out needs to have this BTS.ReceiveFileName property on
    the context. You probably creating a new message in your orchestration and sending that out. The new message does not have the property on its context which makes it fail. Use a message assignment shape in your orchestration to set the context property for
    the message going out:
    MyMessage(BTS.ReceiveFileName) = OrigMessage(BTS.ReceiveFileName);
    Then %SourceFileName% macro will work at send port.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Name and extension network volume - problem

    Hi all,
    I am 10.7.5 and when I get my network volumes the system I added an extension to the volume name!
    example:
    volume name: Music
    in name and extension: Music-2
    Why am I adding -2??
    and how to no longer be
    Thank you for your help

    All updates are installed regularly, so I am indeed at the newest version of all available software. I just haven't updated my signature here.
    And the name of the attachment is mangled only when I use the client to send an attachment to any other Gmail account ( both Windows or Mac, accessed either through a client or directly at the receiving end). The same email cc'd to my school address shows the entire file name. And if I send the email through Gmail directly, then it is fine too, as I mentioned.
    Message was edited by: Deep Blue to change the OS version.

Maybe you are looking for