Click or drag to resize

ApiSessionImportAsset Method (ObjectProxy, String, String, String)

Imports the specified file and creates a new asset object.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy ImportAsset(
	ObjectProxy aParent,
	string aDisplayName,
	string aAssetFullFilename,
	string aTemplateTechName
)

Parameters

aParent
Type: Articy.ApiObjectProxy
the user folder that should serve as parent for the to-be-imported asset
aDisplayName
Type: SystemString
the display name of the to-be-imported asset; if null a default name from the imported filename is generated
aAssetFullFilename
Type: SystemString
the fully specified filename of the asset file that is to be imported
aTemplateTechName
Type: SystemString
the technical name of a template, that will be assigned to the to-be-imported asset or null to create without assigning a template

Return Value

Type: ObjectProxy
the freshly created object; use this return value to further initialize the properties of the new asset
See Also