Document Category Items2 Tag

This tag is similar to the Document_Category_Items tag, but allows multiple document categories in the parameters

' 1) Area Name for Builder
' 2) Type ==> Not Required;
' 0=All (Default);
' 1=Document;
' 2=Video;
' 3=Text
' 4=Image
' 3) Category IDs ==> Not Required: Content Category ID(s); may enter 1 or more ID delimited by commas; empty will return all.
' 4) IncludeAllRelatedCatg ==> Not Required;
' 0 = Return only for items w/ specified Category ID(s) specified in Param #2; default.
' 1 = Include all related items, Parents and Child records, for items w/ Category ID(s) specified in Param #2;
' 2 = Include only Child records for items w/ Category ID(s) specified in Param #2.
' 5) StartDate ==> Not Required; Applicable to News Items Only (If Param #1=2); Return all news items from this date.
' 6) EndDate ==> Not Required; Applicable to News Items Only (If Param #1=2); Return all news items from before this date.
' 7) Document Category
' 8) MaxReturn ==> Not Required; Max number of records returned.
' 9) Order By ==> Not Required; Field to Order by;
'
' CASE WHEN @iSortOrder=1 or @iSortOrder=7 THEN TotalRank END DESC,
' CASE WHEN @iSortOrder=2 THEN
' Case AccessType
' WHEN 1 THEN 'PUBLIC'
' WHEN 2 THEN 'MEMBERS'
' WHEN 3 THEN 'ASSN MEMBERS'
' End
' END ASC,
' CASE WHEN @iSortOrder=3 THEN DocumentTitle END ASC,
' CASE WHEN @iSortOrder=5 THEN Author END ASC,
' CASE WHEN @iSortOrder=4 THEN
' Case DocumentType
' WHEN 1 THEN 'DOCUMENT'
' WHEN 2 THEN 'VIDEO'
' WHEN 3 THEN 'TEXT'
' WHEN 4 THEN 'IMAGE'
' End
' END ASC,
' CASE WHEN @iSortOrder=0 THEN HistoryDate END DESC,
' CASE WHEN @iSortOrder=6 THEN ModifiedDate END DESC,
' HistoryDate Desc
'
'
' 10) SortType ==> Not Required; Sort the Ordery By field.
' 0=Asc;
' 1=Desc
' 11) Top Area
' 12) Bottom Area
' 13) Number of Records per page
' 14) News Category Topics
' 15) sDataTagItemTypeIds
' 16) sCategoryIds

Note: the tag needs to have a large number in the 'maxrecordstoreturn' (pararmeter 8) to pull in all/current documents.

Example: LC:DOCUMENT_CATEGORY_ITEMS2:DOCUMENT_CATEGORY_ITEM_BUILDER_RESOURCES:::::::1000000:0::::4:::10,20,30,33,70,40,50,60,35,80,100,110,120,130,140,150