Difference between revisions of "MEDIA NUM - Media count (Reports & Settings Report Generator function)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Syntax ==
 
== Syntax ==
  '''$MEDIA_NUM'''{media_id, I/E, I/V/P/D/S/R/A}
+
  '''$MEDIA_NUM'''{media_id, I/E, I/V/P/D/S/R/A, category}
  
 
== Description ==
 
== Description ==
Line 32: Line 32:
 
:;A
 
:;A
 
::Audio Files.
 
::Audio Files.
 +
;category
 +
:A text parameter that can be omitted.
 +
:The media category to include. This can be left blank to include all media categories.
  
 
== Returns ==
 
== Returns ==

Latest revision as of 05:37, 13 May 2021

Syntax

$MEDIA_NUM{media_id, I/E, I/V/P/D/S/R/A, category}

Description

The number of published/non published media items.

Parameters

media_id
A text parameter that can not be omitted.
The input media ID (10 character ID, see below) whose details you require.
I/E
A text parameter that can be omitted (it defaults to "E").
I
Include non-published media.
E
Exclude non-published media.
I/V/P/D/S/R/A
A text parameter that can be omitted (it defaults to "I").
I
Image Files.
V
Video Links.
P
PDF/XPS Files.
D
Document Files.
S
Spreadsheet Files.
R
Presentation Files.
A
Audio Files.
category
A text parameter that can be omitted.
The media category to include. This can be left blank to include all media categories.

Returns

A numeric value. The number of media published/non published media items.

See also

$MEDIA, $MEDIA_NUM.