PDFSam in Collection Library

Comments

6 comments

  • Stephen Valdinger

    I've set myself a reminder to build this for you in the morning. What license level are you at in Inventory? I don't think it will matter, but it helps to know.

    I'll post the XML you can use to import. It'll be called PDFSam, and will have two nested child collections underneath called Latest Version and Older, just like you would see in the collection library for the built in application stuff from PDQ.

    0
    Comment actions Permalink
  • Parker, Keith

    Thankyou.

    I am on Enterprise level.

    Much appreciated!

    Keith

    0
    Comment actions Permalink
  • Stephen Valdinger
    <?xml version="1.0" encoding="utf-8"?>
    <AdminArsenal.Export Code="PDQInventory" Name="PDQ Inventory" Version="13.0.2.0" MinimumVersion="4.0">
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>Application</Table>
    <Column>Name</Column>
    <Comparison>Contains</Comparison>
    <Value>PDFSam</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="false" />
    <CanShare value="null" />
    <Created>2017-06-26T08:41:53.0000000-04:00</Created>
    <Description></Description>
    <Error></Error>
    <Id value="784" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-06-26T08:42:17.0000000-04:00</Modified>
    <Name>PDFSam</Name>
    <ParentId value="null" />
    <Path>PDFSam</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <Children type="list">
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>Application</Table>
    <Column>Version</Column>
    <Comparison>!VersionLowerThan</Comparison>
    <Value>3.3.2</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="true" />
    <CanShare value="null" />
    <Created>2017-06-26T08:42:22.0000000-04:00</Created>
    <Description></Description>
    <Error></Error>
    <Id value="785" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-06-26T08:42:22.0000000-04:00</Modified>
    <Name>Latest Version</Name>
    <ParentId value="784" />
    <Path>PDFSam\Latest Version</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <Children type="list" />
    </Collection>
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>Application</Table>
    <Column>Version</Column>
    <Comparison>VersionLowerThan</Comparison>
    <Value>3.3.2</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="true" />
    <CanShare value="null" />
    <Created>2017-06-26T08:43:18.0000000-04:00</Created>
    <Description></Description>
    <Error></Error>
    <Id value="786" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-06-26T08:43:18.0000000-04:00</Modified>
    <Name>Older</Name>
    <ParentId value="784" />
    <Path>PDFSam\Older</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <Children type="list" />
    </Collection>
    </Children>
    </Collection>
    </AdminArsenal.Export>

     

    Copy the above and save it as an XML file. Then do a File > Import into your PDQ Inventory software.

    NOTE: This won't dynamically update when newer versions come out, so you'll have to modify the Versions in the two child collections, but that takes < 10 seconds to do. Hope this helps!

    0
    Comment actions Permalink
  • Parker, Keith

    Hello,

    Thanks for your help, however I have noticed an issue with the detection.

    It is showing in both the "Latest Version" and "older" group the exact same machines.

    Is this intended?

     

    Keith

    0
    Comment actions Permalink
  • Stephen Valdinger

    Hmmm, no that isn't the intended behavior. I don't have PDFSam in my environment to Test, but I can throw it in my Dev and see if I can get it working. Hang tight.

    0
    Comment actions Permalink
  • Shane Corellian

    You were really close, Stephen. The problem with those collections is that the sub collections are evaluating any application to be lower (or higher) than 3.3.2. You still need to have a filter for Application Name.

    You are using the Drill Down but remember that using Drill Down means that this collection will only evaluate computers that are in the parent collection. If you have 3,000 computers in your database but only 30 have PDFSam then a sub collection with Drill Down enabled will only evaluate its respective filters against those 30 computers. It does not, however, pass the filters from the parent down to the sub collection it only passes the collection members.

    Keith, PDFSam is also one of those applications that actually reports a slightly different version in Inventory than the "friendly" version shown on their website. PDFSam version 3.3.2 is actually reported as 3.30.2.0.

    I also created a custom variable for you. When the next version of PDFSam comes out you will only need to update the one variable called @(AppVerPDFSam). In Inventory 13 you can access variables from the Options > Variables menu. Inventory 12.4 and earlier you can go to File > Preferences > Variables.

    You can copy the xml below and create a new XML file. Then follow Stephen's instructions for importing it. The variable (if it doesn't already exist) will be created.

     

    <?xml version="1.0" encoding="utf-8"?>
    <AdminArsenal.Export Code="PDQInventory" Name="PDQ Inventory" Version="13.1.0.0" MinimumVersion="4.0">
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>Application</Table>
    <Column>Name</Column>
    <Comparison>Contains</Comparison>
    <Value>PDFSam</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="false" />
    <CanShare value="null" />
    <Created>2017-06-26T06:41:53.0000000-06:00</Created>
    <Description></Description>
    <Error></Error>
    <Id value="7367" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-06-26T06:42:17.0000000-06:00</Modified>
    <Name>PDFSam</Name>
    <ParentId value="null" />
    <Path>PDFSam</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <Children type="list">
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>Application</Table>
    <Column>Name</Column>
    <Comparison>Contains</Comparison>
    <Value>PDFSam</Value>
    </ValueFilter>
    <ValueFilter>
    <Table>Application</Table>
    <Column>Version</Column>
    <Comparison>!VersionLowerThan</Comparison>
    <Value>@(AppVerPDFSam)</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="true" />
    <CanShare value="null" />
    <Created>2017-06-26T06:42:22.0000000-06:00</Created>
    <Description>Systems with version @(AppVerPDFSam) or higher</Description>
    <Error></Error>
    <Id value="7368" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-06-29T13:14:42.0000000-06:00</Modified>
    <Name>Latest Version</Name>
    <ParentId value="7367" />
    <Path>PDFSam\Latest Version</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <CustomVariables type="list">
    <CustomVariable>
    <Name>AppVerPDFSam</Name>
    <Value>3.30.2.0</Value>
    </CustomVariable>
    </CustomVariables>
    <Children type="list" />
    </Collection>
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>Application</Table>
    <Column>Version</Column>
    <Comparison>VersionLowerThan</Comparison>
    <Value>@(AppVerPDFSam)</Value>
    </ValueFilter>
    <ValueFilter>
    <Table>Application</Table>
    <Column>Name</Column>
    <Comparison>Contains</Comparison>
    <Value>PDFSam</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="true" />
    <CanShare value="null" />
    <Created>2017-06-26T06:43:18.0000000-06:00</Created>
    <Description>Systems below version @(AppVerPDFSam)</Description>
    <Error></Error>
    <Id value="7369" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-06-29T13:14:58.0000000-06:00</Modified>
    <Name>Older</Name>
    <ParentId value="7367" />
    <Path>PDFSam\Older</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <CustomVariables type="list">
    <CustomVariable>
    <Name>AppVerPDFSam</Name>
    <Value>3.30.2.0</Value>
    </CustomVariable>
    </CustomVariables>
    <Children type="list" />
    </Collection>
    </Children>
    </Collection>
    </AdminArsenal.Export>

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.