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

Re: How to create a custom panel in the right way (without having an empty panel in the file info) ?

$
0
0

Hi Stefan,

 

Finally i solved the issue.

 

For a custom panel named DateFashion in Mac OS 10.8.2 with Flashbuilde 4.6 and XMP-FileInfo-SDK-5.1  :

 

  • Create the panel in Flashbuilder
  • Right click the project in FlashBuilder and select xmp / Publish Custom Panel  (a message will pop up to inform you the panel has been created successfully)
  • The panel is automatically placed in the following folder : /Users/Username/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0/panels
  • In illustrator open the File Infos in the File menu to display xmp panels and select your custom panel

If the panel is blank in the file Infos, you must create a trust file.

 

TO CREATE A TRUST FILE :

  • Open the folder : /Library/Application Support/Macromedia/FlashPlayerTrust (you have to use the library folder of the Macintosh HD hard drive)
  • In the FlashPlayerTrust folder, create an empty text file with Text Edit and save it with the name of the custom panel you want to validate as a trust file with the extension .cfg (the name of the trust file doesn't matter in fact, but it's easier ton remain consistent)
  • For example, the name of my custom panel is DateFashion, so i have created the file DateFashion.cfg in the FlashPlayerTrust folder located in the following path : /Library/Application Support/Macromedia/FlashPlayerTrust
  • Open the .cfg file you have created and type the path to the swf file of the custom panel you want to validate.
  • In this case the path for the swf file of the custom panel DateFashion  is : /Users/Username/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0/panels/DateFashion/bin/DateFashion.swf (you have to use the library within each user home)
  • Save the .cfg file
  • Go back to illustrator file info.
  • Now the content of the custom panel DateFashion appears.

 

So finally you need to specify the absolute path of the swf file of the custom panel, otherwise it doesn't work.

 

I think the explanation of Adobe about the trust file  for custom panels in the guide "XMP FileInfo SDK Programmer's Guide", page 53 is not clear for many of us.

 

I also hope this message will help the community

 

Thank you so much Stefan for your help!

 

Regards,

 

Daté


Viewing all articles
Browse latest Browse all 801

Trending Articles



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