is there a way to get customzation objects from a URL rather than directly on the Director?

16 views
Skip to first unread message

Tim Geiges

unread,
Oct 9, 2009, 1:56:27 PM10/9/09
to XMPie Interest Group
If I use this code I can get the logo named "cecil.jpg" to load fine.
but is there a string I can use to grap the image from another server?

$custarr=array
("m_Name"=>"Logo","m_Type"=>"ADOR","m_IOType"=>"R","m_Expression"=>"\\\
\Director1\\TestImages\\cecil.jpg");
$result=$jobTicObj->SetCustomization(array
("inUsername"=>"username","inPassword"=>"password","inTicketID"=>
$ticketid,"inCustomization"=>$custarr,"expressionAsValue"=>true));

something like:

$custarr=array
("m_Name"=>"Logo","m_Type"=>"ADOR","m_IOType"=>"R","m_Expression"=>"http:
\\www.webserver.com/images/cecil.jpg");
$result=$jobTicObj->SetCustomization(array
("inUsername"=>"username","inPassword"=>"password","inTicketID"=>
$ticketid,"inCustomization"=>$custarr,"expressionAsValue"=>true));

Tim G.

Timothy Perrett

unread,
Oct 9, 2009, 7:25:29 PM10/9/09
to XMPie Interest Group
Tim,

Here your dealing with uProduce asset resolution - the obvious but
technically wrong answer to your question is "no". If you really
really wanted to put some effort into this for whatever reason, then
you could just write an asset provider plugin that understood the
URL's you were passing it.

This is how DAM integration works, apart from those plugins then deal
with meta data searching etc rather than URLs - my point is that its
just a C++ plugin, you could make it do whatever it needs to in order
to resolve the image.

Cheers, Tim

JasonSpr

unread,
Oct 9, 2009, 5:59:56 PM10/9/09
to XMPie Interest Group
Depending on how much access you have to the web server, I might
recommend mapping a local drive to the server, and then telling it to
look there. But it would be a nice feature if there was a way to just
enter the URL, so I'll check back for other answers.

Timothy Perrett

unread,
Oct 11, 2009, 7:28:22 AM10/11/09
to XMPie Interest Group
Jason,

Are you suggesting mapping a drive from the webserver in the DMZ to
the uProduce in the LAN? I really wouldn't do that as it raises a raft
of security issues.

Cheers, Tim
Reply all
Reply to author
Forward
0 new messages