Return Type |
Signature |
AttrCfgAuthPortalListGet( |
|
CreateObject( |
|
FinalizeCommit( |
|
GetInboxList( |
|
GetObjectByID( |
|
InitializeFromDictionary( |
|
IsAuthorizedPortal( |
|
PrepareCreatedObject( |
|
ValidateAccount( |
FSCPORTAL@1.1001:AttrCfgAuthPortalListGet
void
FSCPORTAL@1.1001:AttrCfgAuthPortalListGet(
AttributeDefinition
attrdef,
ref any
value,
out optional boolean
volatile,
out optional boolean
volatiletx)
Name |
Description |
attrdef |
|
value |
|
volatile |
|
volatiletx |
Additional Information
inbox
: The identifier of an object that provides an object pointer property for multiple values
by GetInboxList.
The user (in general identified by the EvaluateExpression with context FormPoster)
must have set access for the property returned by GetInboxList of the object identified by inbox.objectclass
: Fully-qualified reference of the object class
of which an object should be instantiated. The created object will be initialized by calling
InitializeFromDictionary.
Before, PrepareCreatedObject is invoked on the form inbox object.objecttemplate
: The address of a template object that will be copied.
The new object will be initialized by calling InitializeFromDictionary.
Before, PrepareCreatedObject is invoked on the form inbox object.redirect
: Redirect URL to be invoked after successful creation and
initialization of the new object(s). This must be an absolute URL including protocol and host.
For security reason the host of this URL must match the referrer (HTTP header "Referer" or "Origin") of the page containing the
form. The URL must not be a relative URL.errorredirect
: Redirect URL to be invoked when a failure occurs (e.g. during creation or
initialization of the new object).errorcode
and error
redirecttype
: Defines how the redirect should be executed.
void
FSCPORTAL@1.1001:CreateObject(
out string
result)
Name |
Description |
result |
Additional Information
FSCPORTAL@1.1001:FinalizeCommit
void
FSCPORTAL@1.1001:FinalizeCommit(
object[]
attrlist)
Name |
Description |
attrlist |
Additional Information
AttributeObjectDef
FSCPORTAL@1.1001:GetInboxList(
out retval AttributeObjectDef
inboxlist)
Name |
Description |
inboxlist |
Additional Information
FSCPORTAL@1.1001:GetObjectByID
inbox
), the inbox (for objectclass
and objecttemplate
) or the created object (for objcategory
and attachmentattrdef
).
object
FSCPORTAL@1.1001:GetObjectByID(
object
inbox,
string
type,
string
id,
out retval object
result)
Name |
Description |
inbox |
The inbox where the object is/will be created.
|
type |
The type of object. The identifier of the request parameter is used. Currently
it is used for
inbox , objectclass , objecttemplate ,
objcategory and attachmentattrdef . |
id |
The id of the object, may be an address or reference, depending on
type |
result |
The object or null if the
id does not result in a valid object for type |
Additional Information
void FSCPORTAL@1.1001:Initialize()
Additional Information
FSCPORTAL@1.1001:InitializeFromDictionary
requestdict
dictionary allows you to access the submitted form data.objname
: The name of the object (objname).
objsubject
: The subject of the object (objsubject).
objcategory
: The category of the object (objcategory)
identified in requestdict
by its full reference or object address.requestdict
that match
properties defined by the category (categoryattributes). The properties of the category
are identified in requestdict
by their short reference, full reference, or object address.
requestdict
by their full reference or object address. You may use the
short reference, too. But if two properties exist with the same short reference it is not determined which property
will be set. So it is recommended to use the full reference.
content
: The content of the object (content). If objname
is
not set the name of the object will be extracted from the file name of this field.attachmentattrdef
: Defines the object pointer property where to store the content objects
(e.g. objchildren for a Folder).
attachmentkeys
: A comma separated list of entry names found in requestdict
.
These entries refer to files submitted in the http request. It may also be possible to define
the HTML form field as multiple to submit more than one file in one request. For each submitted file
an object is created in the list defined by attachmentattrdef
. The object class
and the object name for these objects will be retrieved from the name and extension of the file.
In addition PrepareCreatedObject is invoked on each attached object.
requestdict
and use them to initialize your objects. Please note that the method will
remove the entries mentioned above from the dictionary after setting the appropriate properties.CooContent::SetFile()
method on it.
void
FSCPORTAL@1.1001:InitializeFromDictionary(
dictionary
requestdict,
optional object
parent)
Name |
Description |
requestdict |
|
parent |
Additional Information
FSCPORTAL@1.1001:IsAuthorizedPortal
void
FSCPORTAL@1.1001:IsAuthorizedPortal(
string
portalipaddr,
optional string
portalcertsubject,
out boolean
authorized)
Name |
Description |
portalipaddr |
|
portalcertsubject |
|
authorized |
Additional Information
FSCPORTAL@1.1001:PrepareCreatedObject
void
FSCPORTAL@1.1001:PrepareCreatedObject(
object
createdobject)
Name |
Description |
createdobject |
Additional Information
FSCPORTAL@1.1001:ValidateAccount
void
FSCPORTAL@1.1001:ValidateAccount(
string
userlogname,
optional string[]
grouplognames,
optional string[]
portaluserattributekeys,
optional string[]
portaluserattributevalues)
Name |
Description |
userlogname |
|
grouplognames |
|
portaluserattributekeys |
|
portaluserattributevalues |
Additional Information