Quantcast
Channel: Adobe Community: Message List - XMP SDK
Viewing all 801 articles
Browse latest View live

FileInfo XMPComboBox

$
0
0

Hello,
I am creating a FileInfo Panel, I noticed that when I create a XMPComboBox, if no one makes a selection the data isn't saved. Is there away to force the data to be written even if the field isnt changed? Example: I have a Gender combo box, Gender : Female is the first and default. If they want Female, they wouldnt change anything, so the data isnt being written.

I am guessing I could call the xmpWriteHandler, but I dont know syntax to have it store the value.


Screen Shot 2014-07-09 at 12.45.50 PM.png


Some of the code:


[Bindable]

  private var model_gender_list: ArrayCollection = ZStringManager.getDictionaryFrom("model_gender_list=Female{Female};Male{Male}");

 

import com.adobe.xmp.events.XMPEvent;

private function xmpWriteHandler(event:XMPEvent):void{

}

 

<fi:XMPFormItem label="Model&apos;s Gender:">

  <fi:XMPComboBox dataProvider="{model_gender_list}" xmpWrite="xmpWriteHandler(event)" xmpPath="en:model_gender" />

</fi:XMPFormItem>

 

Thanks

Dean


Re: Cannot build XMP-Toolkit-SDK-CC201306

$
0
0

Once upon a time I compiled this and it was irritating; now I can't get out of cmake because no matter what I do, the path is too long and it's not found. I have put it in front of the path, too. Someone at Adobe should release this as a Visual Studio solution with the dng sdk with the current versions of zlib, libjpeg, expat and whatever else. There are a few people who still program for windows and use Visual Studio.

Re: GenerateXMPToolkitSDK_win.bat failing to generate project files

$
0
0

Adobe should release this with a viable VS201X Solution file and the requisite files. I put all the libs in the right places as per the documentation and I get the same errors on the cmake path. 

Re: Toolkit installation errors

$
0
0

Why not Adobe would release a VS201X solution file with all the requisite files. It would seem simpler than all these machinations.

Re: Cannot build XMP-Toolkit-SDK-CC201306

$
0
0

Hi,

    Have you fixed cmake issue? If you are unable to generate visual studio solution & project file, could you please send me log. If prerequisites are at place, the cmake path will be automatically added into path and cmake will be used. If cmake is in path but you are getting errors it means either prerequisite are not at place or your cmake is broken. If you are getting errors from cmake, reinstall it.

 

-Sunil

Re: Cannot build XMP-Toolkit-SDK-CC201306

$
0
0

Thanks for sending the log. It's cmake issue. In cmake 3.0.0 you will get this issue (to see the version of cmake open command prompt go to <your SDK installation folder>/tools/cmake/bin and give command "cmake -version").

 

To fix it, just installed any previous version e.g. 2.8.12.2 (download cmake-2.8.12.2-win32-x86.zip from  CMake - Cross Platform Make). Please let me know if you face any issue.

 

For reference, I am pasting the log which you sent

CMake Error: Error in cmake code at
D:/c/vs2010/dng/XMP-Toolkit-SDK-CC201306/XMPCore/build/CMakeLists.txt:170:
Parse error.  Function missing ending ")".  Instead found bad character with text "[".
CMake Error: Error in cmake code at
D:/c/vs2010/dng/XMP-Toolkit-SDK-CC201306/XMPFiles/build/CMakeLists.txt:284:
Parse error.  Function missing ending ")".  Instead found bad character with text "[".
I "fixed" it with
#0xDEADBEAF COMMAND if [ $(CONFIGURATION) != Debug ]; then COMMAND if ( $(CONFIGURATION) != Debug ) then
and on the second:
#0xDEADBEAF COMMAND if [ $(CONFIGURATION) != Debug ]; then
COMMAND if ( $(CONFIGURATION) != Debug ) then....

Is an XMP packet valid XML

$
0
0

I ask this question because I came upon a surprise in reviewing the XMP and XML specifications.

 

XML, it seems, must start <?xml ...>

But XMP can start <?xpacket ...>

 

It seems to me that this means that an XMP document/packet therefore, while it contains valid XML entities, is not of itself valid XML (but could be converted by adding a correct prolog). Is this correct? Or are we depending on the language in the XML spec which says "XML documents should begin with an XML declaration" (should rather than shall)?

Inserting a Title caption

$
0
0

I have successfully built a custom XMP panel for Bridge and Photoshop and now want to refine the visual style of the File Info panel.  How do I insert a title for a group of fields below a line separator?  For example, inserting "PROJECT STAFFING" above a group of five project staffing fields.  I would like the title to display flush left.  What is the code to make that happen?

 

Any help is appreciated.  Howard


Re: XMP Checker

$
0
0

A very simple (and free) application is Architag XRay XML Editor which I have been using to create our custom panels.  The application has a large green or red code checker window built in that shows you where the error is and what is expected.  I am NOT a programmer and flying by the seat of my pants and this program has been very helpful.

 

Howard

Re: Metadata Panel - Drop-Down & Boolean

$
0
0

I have built Custom Panels that are working in Bridge, Photoshop and Media Exchange.  After hours of searching posts and web tips, I have come to the conclusion that in using Custom Panels (not ones built into either application) you can only view and use drop-downs from within the File Info window, NOT from the metadata panel visible on screen.  I use the same code for both and dropdowns only work in the File Info panel.

 

Howard

Re: Cannot build XMP-Toolkit-SDK-CC201306

$
0
0

I am also having trouble with CMake 2.8.12.1  with VS2012

When I run configure I get the following errors:

The C compiler identification is MSVC 17.0.61030.0

The CXX compiler identification is MSVC 17.0.61030.0

Check for working C compiler using: Visual Studio 11 Win64

Check for working C compiler using: Visual Studio 11 Win64 -- works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working CXX compiler using: Visual Studio 11 Win64

Check for working CXX compiler using: Visual Studio 11 Win64 -- works

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

COMMON_BUILD_SHARED_DIR= E:/src/XMP/XMP-Toolkit-SDK-CC201306/build/../build/shared

CMake Error at E:/src/XMP/XMP-Toolkit-SDK-CC201306/XMPCore/build/CMakeLists.txt:194 (AddLibraryAndDependencies):
  AddLibraryAndDependencies Function invoked with incorrect arguments for
  function named: AddLibraryAndDependencies

CMake Error at E:/src/XMP/XMP-Toolkit-SDK-CC201306/XMPCore/build/CMakeLists.txt:197 (set_target_properties):
  set_target_properties Can not find target to add properties to: XMPCore

CMake Error at E:/src/XMP/XMP-Toolkit-SDK-CC201306/build/shared/SharedConfig_Win.cmake:83 (set_target_properties):
  set_target_properties Can not find target to add properties to: XMPCore
Call Stack (most recent call first):
  E:/src/XMP/XMP-Toolkit-SDK-CC201306/build/shared/SharedConfig_Common.cmake:110 (SetPlatformLinkFlags)
  E:/src/XMP/XMP-Toolkit-SDK-CC201306/XMPCore/build/CMakeLists.txt:205 (SetWinLinkFlags)

CMake Error at E:/src/XMP/XMP-Toolkit-SDK-CC201306/XMPCore/build/CMakeLists.txt:246 (set_target_properties):
  set_target_properties Can not find target to add properties to: XMPCore

===========================================================================

XMPCore64

===========================================================================

OUTPUT_DIR = E:/src/XMP/XMP-Toolkit-SDK-CC201306/XMPCore/build/../../public/libraries/windows_x64/$(co nfiguration)

CMake Error at E:/src/XMP/XMP-Toolkit-SDK-CC201306/XMPFiles/build/CMakeLists.txt:154 (if):
  if given arguments:

  "WIN32" "AND"

  Unknown arguments specified

Configuring incomplete, errors occurred!

See also "E:/src/XMP/XMP-Toolkit-SDK-CC201306/bin/CMakeFiles/CMakeOutput.log".

Re: Cannot build XMP-Toolkit-SDK-CC201306

$
0
0

Hi pdparkman,

    From the thread it seems you have downloaded "XMP-Toolkit-SDK-CC201306" . For this SDK by default projects for Visual Studio 10 will be generated. But from the log it is clear that you are trying to generate projects for Visual Studio 2012. Cmake is generating error because XMP_BUILD_STATIC has not been set correctly. Have you modified any other file build/shared/CMakeUtils.bat or any other file?

 

   From your end, if you want to do the above task (download the above version of SDK & build it for Visual Studio 2012), please do the following

   1. Open build/Shared/CMakeUtils.bat and change "VC10' to "VC11" and "GeneratorVersion=Visual Studio 10" to "GeneratorVersion=Visual Studio 11" (this is at two places so to be safe change at both places)

    2. Give command GenerateXMPToolkitSDK_win.bat

 

   If the above steps doesn't work or you want to do other than what I am guessing, please send me the steps which you did before running GenerateXMPToolkitSDK_win.bat file? Also send me the complete output of GenerateXMPToolkitSDK_win.bat command (the output contains whether XMPStatic is ON/OFF).

 

 

-Sunil

Re: Cannot build XMP-Toolkit-SDK-CC201306

$
0
0

Thanks for the quick reply - We got it working by building CMake in VS2010

and then using VS2012 to upgrade the solution. This is necessary because

MSFT changed the STL between 2010 and 2012, and you can't use dll's from

one with the other.

 

Phil

 

 

On Tue, Jul 29, 2014 at 11:00 PM, sunilkishorpathak <

I create a application in VS2010 that uses InDesign API, but I receive a error in some pc

$
0
0

Hello!

 

My application opens a indesign document to edit. The majority of pc, all works fine, but some pc I receive an error:

 

Method not found: 'System.object InDesign._Application.Open(System.Object,Boolean)'

 

My code:

 

Dim myDesign As InDesign.Application

myDesign = CreateObject("inDesign.Application")

 

Dim mydocument = myDesign.Open(fileName", True)

 

 

Thank you!

Creating an array of structs

$
0
0

hi,

 

Using ExtendScript how can i create an array of structs to write the following xml metadata in Illustrator 18

 

            <uaDIO:symbol>

                <uaDIO:symbolName>Pocket</uaDIO:symbolName>

                <rdf:Seq>

                    <rdf:li>

                        <uaDIO:layer>

                            <uaDIO:layerName>Stiching</uaDIO:layer>

                            <uaDIO:color>AABBCC</uaDIO:layer>

                        </uaDIO:layer>

                    </rdf:li>

                     <rdf:li>

                        <uaDIO:layer>

                            <uaDIO:layer>Base</uaDIO:layer>

                            <uaDIO:color>AABBCC</uaDIO:layer>

                        </uaDIO:layer>

                     </rdf:li>

                </rdf:Seq>

            </uaDIO:symbol>


XMP files remain with NEF files in my folder. Camera Raw suddenly reset leaving my edits gone. Will XMP files enable me to resume with those lost edits?

$
0
0

XMP files remain with NEF files in my folder.  Camera Raw suddenly reset leaving my edits gone.  Will XMP files enable me to resume with those lost edits?

Re: Update for XMP FileInfo SDK available

$
0
0

To be clear, this functionality does not itself use any of the CC Extension HTML5 stuff, correct?

Re: Update for XMP FileInfo SDK available

Can I create a custom XMP panel but using the exact same fields from standard XMP panels?

$
0
0

Hi,

 

I am new to XMP and not very technical, so please excuse me if this sounds like a stupid question!

 

I have managed to create my own custom panels for Photoshop using the Generic Panel method with my own custom fields and they work fine. However what I need to do now is create a custom panel that uses the exact same fields from some of the standard panels. The reason being is that I have 4 fields that need to be integrated into another non-adobe system (Extensis Portfolio) that recognizes standard XMP fields, but at present these 4 fields are spread across different standard panels and it would be much easier for the user in Photoshop if they were all together on one panel.

 

An example field is the "Additional Model Info" field that currently resides on the standard IPTC Extension panel. If I fill in a value in this field on a JPEG then open the the image in Extensis Portfolio, then the field is also filled in in a field called IPTC - Model Info, displaying a key of Iptc4xmpExt:AddlModelInfo.

 

Is there a way I can take this standard field and use it on a custom panel, so that it can still be filled in in Photoshop and the value viewed in Extensis Portfolio? Sure I can create a custom panel and create a field called "Additional Model Info" but I can't figure out how to connect it to the corresponding field in Portfolio. I tried changing the  xmp_property name="Iptc4xmpExt:AddlModelInfo" but this just broke the panel.

 

Is what I am trying to do possible and if so how and can it be done using the Generic Panel method?

 

Many thanks!

XMP to Excell or CSV

$
0
0

Hi All,

 

I'm looking to ingest hundreds of hours of video footage using Adobe Prelude and plan on adding metadata to each clip for easy searching latter in the workflow.  Once the project is complete the client is in need of an excel document that contains each clip with all of the metadata we added during the ingest step of the workflow and where the clip is located on the hard drives that we have used.

 

Are there any automated steps to do this or is there an easy export to Excel option that I'm missing?

 

Thanks

Will

Viewing all 801 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>