WWW::SFDC::Manifest - Utility functions for Salesforce Metadata API interactions.
version 0.33
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();
Returns a list of files needed to deploy this manifest. Use this to construct a .zip file.
Adds an existing manifest object or hash to this one.
Adds a list of components or file paths to the manifest file.
Reads a salesforce package manifest and adds it to the current object, then returns it.
Writes the manifest's XML representation to the given file and returns the manifest object.
Returns the XML representation for this manifest.
Please report any bugs or feature requests at https://github.com/alexander-brett/WWW-SFDC/issues.
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
Alexander Brett <alexander.brett@sophos.com>
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.
To install WWW::SFDC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::SFDC
CPAN shell
perl -MCPAN -e shell install WWW::SFDC
For more information on module installation, please visit the detailed CPAN module installation guide.