Get an icon linked to the administration site which adds a new record to the content.


Namespace: Contensive.BaseClasses
Assembly: CPBase (in CPBase.dll)

Syntax

Visual Basic (Declaration)
Public MustOverride Function GetAddLink( _ 
   ByVal ContentName As String,  _ 
   ByVal PresetNameValueList As String,  _ 
   ByVal AllowPaste As Boolean,  _ 
   ByVal IsEditing As Boolean _ 
) As String
C#
public abstract string GetAddLink(
   string ContentName,
   string PresetNameValueList,
   bool AllowPaste,
   bool IsEditing
)
C++
public:
 String GetAddLink(
   String ContentName,
   String PresetNameValueList,
   bool AllowPaste,
   bool IsEditing
) abstract 
J#
public abstract string GetAddLink(
   string ContentName,
   string PresetNameValueList,
   bool AllowPaste,
   bool IsEditing
)
JScript
public abstract  function GetAddLink(
   ContentName : String,
   PresetNameValueList : String,
   AllowPaste : bool,
   IsEditing : bool
) : String

Parameters

ContentName
PresetNameValueList
A comma delimited list of name=value pairs. Each name is a field name and the value is used to prepopulate the new record.
AllowPaste
If true and the content supports cut-paste from the public site, the returned string will include a cut icon.
IsEditing
If false, this call returns nothing. Set it true if IsEdiing( contentname ) is true.

See Also