NAME
WWW::SFDC::Manifest - Utility functions for Salesforce Metadata API interactions.
VERSION
version 0.33
SYNOPSIS
This module is used to read SFDC manifests from disk, add files to them, and get a structure suitable for passing into WWW::SFDC::Metadata functions.
my $SFDC = WWW::SFDC->new(...);
my $Manifest = WWW::SFDC::Manifest
->new(constants => $SFDC->Constants)
->readFromFile("filename")
->addList()
->add({Document => ["bar/foo.png"]});
my $HashRef = $Manifest->manifest();
my $XMLString = $Manifest->getXML();
METHODS
getFileList(@list)
Returns a list of files needed to deploy this manifest. Use this to construct a .zip file.
add($manifest)
Adds an existing manifest object or hash to this one.
addList($isDeletion, @list)
Adds a list of components or file paths to the manifest file.
readFromFile $location
Reads a salesforce package manifest and adds it to the current object, then returns it.
writeToFile $location
Writes the manifest's XML representation to the given file and returns the manifest object.
getXML($mapref)
Returns the XML representation for this manifest.
BUGS
Please report any bugs or feature requests at https://github.com/alexander-brett/WWW-SFDC/issues.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::SFDC::Manifest
You can also look for information at https://github.com/alexander-brett/WWW-SFDC
AUTHOR
Alexander Brett <alexander.brett@sophos.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2015 by Sophos Limited.
This is free software, licensed under:
The MIT (X11) License
The full text of the license can be found in the LICENSE file included with this distribution.