2022 June Release

Actions of FSCDIGITALASSET@1.1001 Permanent link for this heading

Return Type

Signature

void

AttrDAHiddenAttrDefsGet(
  AttributeDefinition attrdef,
  ref any value,
  out optional boolean volatile,
  out optional boolean volatiletx)

void

AttrDaLicContactSet(
  AttributeDefinition attrdef,
  ref optional any value,
  any oldvalue)

void

AttrDAMustBeDefAttrDefsGet(
  AttributeDefinition attrdef,
  ref any value,
  out optional boolean volatile,
  out optional boolean volatiletx)

string

AttrExifGetDisp(
  AttributeDefinition attrdef,
  out retval string string,
  optional any value,
  optional Language language,
  optional AttributeDefinition[] attrdeflist,
  optional integer flags,
  optional integer index)

void

AutoOrientImage(
  out content dstcont,
  content srccont,
  optional string srctype)

void

ChangeDigitalAssetAttribute(
  AttributeDefinition attrdef,
  dictionary scope)

void

CropImage(
  out content dstcont,
  content srccont,
  optional string srctype,
  integer posx,
  integer posy,
  integer width,
  integer height)

object[]

FilterDigtialAssetAttribute(
  AttributeDefinition attrdef,
  object[] scope,
  out retval object[] filteredvalues)

void

FormatContent(
  out content outcont)

ContentFormatOutputType[]

GetAllowedOutputTypes(
  out retval ContentFormatOutputType[] outputtypes)

boolean

IsDigitalAssetAttributeChangeable(
  AttributeDefinition attrdef,
  dictionary scope,
  out retval boolean ischangeable)

void

MeasureImage(
  content incont,
  string intype,
  out integer height,
  out integer width)

void

ScaleImage(
  out content dstcont,
  content srccont,
  optional string srctype,
  integer scalefactor,
  integer scalewidth,
  integer scaleheight)

void

ScheduleConversion(
  ContentFormat format)

void

TriggerConversions()


FSCDIGITALASSET@1.1001:AttrDAHiddenAttrDefsGet Permanent link for this heading

Retrieves hidden attributes.

void FSCDIGITALASSET@1.1001:AttrDAHiddenAttrDefsGet(
  AttributeDefinition attrdef,
  ref any value,
  out optional boolean volatile,
  out optional boolean volatiletx)

Name

Description

attrdef

value

volatile

volatiletx

Additional Information


FSCDIGITALASSET@1.1001:AttrDaLicContactSet Permanent link for this heading

Is called when the property dalicctact is set.

void FSCDIGITALASSET@1.1001:AttrDaLicContactSet(
  AttributeDefinition attrdef,
  ref optional any value,
  any oldvalue)

Name

Description

attrdef

value

oldvalue

Additional Information


FSCDIGITALASSET@1.1001:AttrDAMustBeDefAttrDefsGet Permanent link for this heading

Retrieves must be defined attributes.

void FSCDIGITALASSET@1.1001:AttrDAMustBeDefAttrDefsGet(
  AttributeDefinition attrdef,
  ref any value,
  out optional boolean volatile,
  out optional boolean volatiletx)

Name

Description

attrdef

value

volatile

volatiletx

Additional Information


FSCDIGITALASSET@1.1001:AttrExifGetDisp Permanent link for this heading

Get display string for Exif property.

string FSCDIGITALASSET@1.1001:AttrExifGetDisp(
  AttributeDefinition attrdef,
  out retval string string,
  optional any value,
  optional Language language,
  optional AttributeDefinition[] attrdeflist,
  optional integer flags,
  optional integer index)

Name

Description

attrdef

string

value

language

attrdeflist

flags

index

Additional Information


FSCDIGITALASSET@1.1001:AutoOrientImage Permanent link for this heading

Auto-orient image

void FSCDIGITALASSET@1.1001:AutoOrientImage(
  out content dstcont,
  content srccont,
  optional string srctype)

Name

Description

dstcont

destination content

srccont

source content

srctype

the type of the image (file extension)

Additional Information


FSCDIGITALASSET@1.1001:ChangeDigitalAssetAttribute Permanent link for this heading

ChangeDigitalAssetAttribute is used when a specific digital asset is changed in the UI.

void FSCDIGITALASSET@1.1001:ChangeDigitalAssetAttribute(
  AttributeDefinition attrdef,
  dictionary scope)

Name

Description

attrdef

the current attribute definition

scope

the current scope of the expression

Additional Information


FSCDIGITALASSET@1.1001:CropImage Permanent link for this heading

Crop image

void FSCDIGITALASSET@1.1001:CropImage(
  out content dstcont,
  content srccont,
  optional string srctype,
  integer posx,
  integer posy,
  integer width,
  integer height)

Name

Description

dstcont

destination content

srccont

source content

srctype

the type of the image (file extension)

posx

crop position x

posy

crop position y

width

crop width

height

crop height

Additional Information


FSCDIGITALASSET@1.1001:FilterDigtialAssetAttribute Permanent link for this heading

FilterDigtialAssetAttribute is used to filter the available objects for a digital asset attribute.

object[] FSCDIGITALASSET@1.1001:FilterDigtialAssetAttribute(
  AttributeDefinition attrdef,
  object[] scope,
  out retval object[] filteredvalues)

Name

Description

attrdef

the current attribute definition

scope

the current scope of the expression

filteredvalues

the filtered values

Additional Information


FSCDIGITALASSET@1.1001:FormatContent Permanent link for this heading

Formats an object's content according to the given Friendly URL parameters.
The parameters are passed as URL parameters: /formatcontent?param1=A&param2=B&param3=C
The following parameters are valid
  • object: COO address
  • height: integer value
  • width: integer value
  • type: target format as extension
  • stretch: stretch the image (default:false)
  • opacity: integer value
  • download: boolean value, if true the content is provided as download (default: false)

void FSCDIGITALASSET@1.1001:FormatContent(
  out content outcont)

Name

Description

outcont

the resulting content

Additional Information


FSCDIGITALASSET@1.1001:GetAllowedOutputTypes Permanent link for this heading

Retrieves the allowed output types for an OutputFormat

ContentFormatOutputType[] FSCDIGITALASSET@1.1001:GetAllowedOutputTypes(
  out retval ContentFormatOutputType[] outputtypes)

Name

Description

outputtypes

allowed output types

Additional Information


FSCDIGITALASSET@1.1001:IsDigitalAssetAttributeChangeable Permanent link for this heading

IsDigitalAssetAttributeChangeable is used if a specific digital asset is changeable in the UI.

boolean FSCDIGITALASSET@1.1001:IsDigitalAssetAttributeChangeable(
  AttributeDefinition attrdef,
  dictionary scope,
  out retval boolean ischangeable)

Name

Description

attrdef

the current attribute definition @scope the current scope of the expression

scope

ischangeable

indicates if the current attribute is changeable

Additional Information


FSCDIGITALASSET@1.1001:MeasureImage Permanent link for this heading

Measures an image's dimensions. If no content is passed, the content of the current object is used.

void FSCDIGITALASSET@1.1001:MeasureImage(
  content incont,
  string intype,
  out integer height,
  out integer width)

Name

Description

incont

the image which is to be measured

intype

the type of the image (file extension)

height

measured image height

width

measured image width

Additional Information


FSCDIGITALASSET@1.1001:ScaleImage Permanent link for this heading

Scale image

void FSCDIGITALASSET@1.1001:ScaleImage(
  out content dstcont,
  content srccont,
  optional string srctype,
  integer scalefactor,
  integer scalewidth,
  integer scaleheight)

Name

Description

dstcont

destination content

srccont

source content

srctype

the type of the image (file extension)

scalefactor

scale by this factor

scalewidth

scale by width (alternative)

scaleheight

scale by height (alternative)

Additional Information


FSCDIGITALASSET@1.1001:ScheduleConversion Permanent link for this heading

Schedule conversion of the digital asset into the given content format. @format The destination format.

void FSCDIGITALASSET@1.1001:ScheduleConversion(
  ContentFormat format)

Name

Description

format

Additional Information


FSCDIGITALASSET@1.1001:TriggerConversions Permanent link for this heading

Trigger processing of pending conversions in property "additionalcontents".

void FSCDIGITALASSET@1.1001:TriggerConversions()

Additional Information