You might try the following:
- create a packing list in the Admin Tool
- read the Object via ars_GetContainer
- print the resulting data structure with Data::Dumper
- use the output as a template for your packing list
This should work because usually the structure for the ars_Create...
LJ,
Well I'll be... There looks like there is an ars_CreateContainer
function in ARSPerl 1.91. ( If I poke around in the ARS.xs, and PM,
file it looks like the function is there.) However, there appears to
be no manual page for the function. Hum... I wonder if that means it
is not fully
Hello Folks,
does anyone have a script that can export a 'definition' file for an
application, or for all objects/elements on an ARS server? Actually, I'd be
interested in any kind of script to is able to 'export' definitions, or even a
description of how the GUI goes about doing such things,
with the Data dumper. Here is the
output of the container when I add the PL through the admin tool
$packingList = {
'owner' = 'longwing.lj',
'ownerObjList' = [],
'numReferences' = 6,
'name' = '20080918-DailyMaster
' = [],
'numReferences' = 6,
'name' = '20080918-DailyMaster',
'lastChanged' = 'longwing.lj',
'objPropList' = [
{
'prop' = 60020,
'value
= {
'owner' = 'longwing.lj',
'ownerObjList' = [],
'numReferences' = 6,
'name' = '20080918-DailyMaster',
'lastChanged' = 'longwing.lj',
'objPropList
= {
'owner' = 'longwing.lj',
'ownerObjList' = [],
'numReferences' = 6,
'name' = '20080918-DailyMaster',
'lastChanged' = 'longwing.lj',
'objPropList
7 matches
Mail list logo