Hi Will,
if you haven't done so already, I would propose to ask this question in the Prelude forum:
Regards
Jörg
Hi Will,
if you haven't done so already, I would propose to ask this question in the Prelude forum:
Regards
Jörg
Hi, I understand absolutely nothing in these things, but I guess I need to install this panel to my photoshop folder somehow to create my file's metadata. At this moment when I want to add some file info fatal error appears "Please run the XMP Panels 4.0 STI first and restart your app".
The problem is - I do not have any XMP folder.
Could you please help me in this issue.
Hi Zhanna_K,
STI has not been installed in PhotoShop. Please either re-install and select repair option or go to your installer folder and search for STI folder and run setup from there. Once it will be installed correctly you will find XMP folder at C:\Program Files (x86)\Common Files\Adobe\XMP\Custom File Info Panels\4.0. This is common location where you have to put panels for all Adobe Products.
For STI you have look on How do I run the XMP Panels 3.0 STI?
-Sunil
Hello Adobies!
I'm currently working on making a customized Adobe Bridge add-on that is used to enter, and extract certain metadata fields. I've been successful with the DC, IPTC Core, and Photoshop schemas, however there does not seem to be sufficient documentation/examples of using the PLUS schema (Licensor, Copyright Owner...). In fact there is not a namespace even provided for PLUS. I've basically resorted to regex and interpreting the serialized string but this does not help in updating a files metadata.
Here is an example of what I am using to extract an IPTC Core property and populate the form:
prop = myXmp.getProperty(XMPConst.NS_IPTC_CORE, "CreatorContactInfo/Iptc4xmpCore:CiAdrExtadr"); | |||
if (prop == "undefined" || prop == undefined) { | |||
tempcreatorAddress = ""; | |||
} else { | |||
tempcreatorAddress = prop; | |||
} | |||
myCreatorAddress.text = tempcreatorAddress; | |||
debugMessage("\t Creator Address: " + tempcreatorAddress); |
For accessing plus I've attempted the following:
prop = myXmp.getProperty("http://ns.useplus.org/ldf/xmp/1.0/", "plus:Licensor"); | ||
debugMessage("PROP: " + prop); | ||
prop = myXmp.getArrayItem("http://ns.useplus.org/ldf/xmp/1.0/", "plus:Licensor", 1); | ||
debugMessage("PROP: " + prop); |
Which returns either undefined (the prior) or a blank result (the latter).
I feel I must be close and maybe the path for plus:Licensor is not correct. Any assistance would be greatly appreciated!
Hi KingMi21,
Just pass "Licensor" not "plus:Licensor". "plus" will be prefix for "http://ns.useplus.org/ldf/xmp/1.0/", you can verify from namespace. From you code, it seems you are just trying to get the value of Licensor. you can check whether Licensor is array or simple and based on that you can use either getProperty or getArrayItem.
-Sunil
Hi Sunil!
I am only able to get an empty result with either . How would I go about accessing LicensorName, or LicensorURL? Licensor I believe is an array of structs.
I've got it working- used the following:
var name = xmp.getProperty("http://ns.useplus.org/ldf/xmp/1.0/", "plus:Licensor[1]/plus:LicensorName");
Essentially just the XML navigation to the relevant field. Ideally I'd prefer to get the Struct methods.
Jörg, you mentioned the converter for the panels in you post, but on the link for the SDK, it only has XMP-Toolkit-SDK-CC-201306. Is the the same for 2014? If so, where in the zip file is the converter? Can the converter be used for file info templates? If not, can users convert their old templates to be used with 2014? There is a thread in the public PS forum regarding this:
File Info Metadata Templates Photoshop CC 2014
Thanks! Chuck
Hi Chuck,
the XMP Toolkit SDK is not the one that allows extension of the FileInfo dialogs in CC apps. Please have a look at the XMP Metadata UI SDK also available on the XMP Devnet page linked above. The converter is located in the "tools" sub-folder. It can be used to convert Generic Panel extension to the new version. Templates do not need to be converted. The templates are not related to the extension mechanism. They are simply means to store the current metadata information of an asset (export) to apply it later to other assets (import). Templates still work as in earlier versions, it is just the quick access list to the template folder that is currently not implemented for the new version of the dialog.
Regards
Jörg
Thanks, Jörg!
Hi Samy,
has anything changed regarding this topic since 2010? We are also looking for a machine readable XMP schema definition of the standard namespaces (IPTC Core, IPTC Ext, etc.). Apparently the library doesn't provide full information of standard fields, we just found about 20 or so.
Regards,
Karin
Hi sunil
May I know how to get the xml back after I embed it into the pdf?
many thanks
Brian
Hi brian,
Just use SerializeToBuffer api which will serialize the metadata in a buffer, once you get the buffer save it in some file. You can get the code in ModifyingXMP.cpp file. For your quick reference you can use the following code
//assumming meta is your SXMPMeta variable
string metaBuffer;
meta.SerializeToBuffer(&metaBuffer, 0, 0, "", "", 0);
ofstream outFile;
outFile.open(filename.c_str(), ios::out);
outFile << *rdf;
outFile.close();
-Sunil
Adobe Extension Manager tells me that the Edge FX extension package is not valid and will not be installed. What now?
Dear Sunil,
For the steps you have describe to embed data from xml file into metadata
of a pdf, I want to follow the steps, however, after I download the
XMPToolkit SDK and I donot know what to do.
Maybe the XMPToolkit SDK I download is not the version you refer to. I am
pretty new to programing. May I ask what should I do to follow your step by
step instruction?
Many thanks,
Brian
On Thu, Oct 2, 2014 at 6:39 PM, sunilkishorpathak <forums_noreply@adobe.com>
Hi brian,
It's very easy. You have already downloaded the current sdk from Adobe - XMP Developer Center | Adobe Developer Connection . Some prerequisites are required, following are these and steps to get them
1. cmake : Install cmake version 2.8.12.2 or below (for more information have a look in <xmpsdk>/tools/cmake/ReadMe). After install of cmake there will be bin and share folder in <xmpsdk>/tools/cmake
2. zlib : You need zlib. Please go through <xmpsdk>/third-party/zlib/ReadMe.txt
3. expat : You need expat. Please go through <xmpsdk>/third-party/expat/ReadMe.txt
After installing prerequisites go to <xmpsdk>/build and run GenerateXMPToolkitSDK_win.bat for windows. Please select the option (32/64 bit, static/dynamic etc). Once you will select it, corresponding project/solution file will be generated (you can see the destination folder path on console). Open the project and build it.
Dear Sunil,
Thanks for your kindly guidance. I have followed it until the "go to
/build and run GenerateXMPToolkitSDK_win.bat for windows"
However , I have tried to select 4 and 5 for my 64 bit windows, and both of
them says fail.....
what can I do?
Regards,
Brian
On Fri, Oct 3, 2014 at 2:09 PM, sunilkishorpathak <forums_noreply@adobe.com>
Dear Sunil,
I redo the steps again and this time I use the latest version of cmake
version cmake-3.0.2-win32-x86. I still have an error when I run in the
console
On Fri, Oct 3, 2014 at 2:09 PM, sunilkishorpathak <forums_noreply@adobe.com>
Hi brian,
I am aware about the incompatibility of "cmake and visual studio "and due to this I mentioned the cmake version clearly. Please use the cmake 2.8.12.2 not 3.x
-Sunil
Dear Sunil,
After I change to cmake 2.8.12.2. it still has an error
Thanks and Regards,
Brian
On Fri, Oct 3, 2014 at 3:47 PM, sunilkishorpathak <forums_noreply@adobe.com>