Download TeamPage 6.2.49 |
f(x:y) OR (:tag AND c(foo))
Proteus.addHandler("event-dialog-load", yourCustomHandlerFunction);
{
"box": boxElement, // the DOM element for the TractionMessageBox used by the dialog
"fqid": fqidSpec // a String representing the FQID of the entry whose details are being displayed
}
<!--- this viewaction tag assumes an action configured at
config/actions/NewFoo, which will allow the user to
use the corresponding form if they have permission
and the context is otherwise suitable. -->
<viewaction name="NewFoo" forceinclude="true">
<div>
<div id="foo-form-inline"></div>
</div>
<gwt.rpc.view name="HtmlFormPlaceHolder" -id="foo-form-inline" placeholder_text="Click here to create a new Foo.">
<gwt.rpc.form form="foo" onsave="rv">
<div rg="g#" class="foo-form">
<com.traction.sdl.tasks.taskform#field-error />
<div class="q">
<!--- minimal foo form -->
</div>
<div class="o">
<!--- remainder of foo form -->
</div>
<gwt.rpc.field name="-controls-" />
</div>
</gwt.rpc.form>
</gwt.rpc.view>
</viewaction>
-id=
attribute of the of the gwt.rpc.view name="HtmlFormPlaceHolder"
; and that the gwt.rpc.form
tag is a child of that gwt.com.traction.sdk.edit.NewSingleReclassify
. This includes a new custom com.traction.sdk.data.DataSource
, tsi.sdk.data.SingleReclassifySourceFactory
, configured at config/data/sources/singlereclassify.properties
. For examples of how to use these capabilities, developers can review the new generic Single Entry Tag Change form at config/data/forms/srecat.properties
, as well as the Prioritize form at config/goal.hastasks
and milestone.hastasks
SDL tags. These are boolean tags that evaluate their true children if there is a goal (project) or milestone entry in scope, respectively, that has at least one task. (Server95350)com.traction.sdk.IndexEntryType
configurations (config/com.traction.sdk.EntryClass
names to allow the IndexEntryType to match to claim entries. Developers may use the match_entry_class_other_names=
property for this purpose. (Server95485)com.traction.sdk.sdl.tag.SimpleCustomEntryRelatedEntries
to support multiple options for the name of the EntryClass
that the currently scoped com.traction.sdk.Entry
must have for the tag to apply. In this case, the required_current_entry_class=
property can be used to specify multiple EntryClass
names. (Server95501)db.entries
SDL tag now applies the same "sticky" JournalRequest
modifications that are applied via the entries
tag. This ensures that behaviors will not vary between those two tags without there being a specific reason related to the type of query, or due to a deliberate choice on the part of the SDL designer. (Server95813)config.project.*
tags (e.config.project.value
and config.project.boolean
) support the defaultsOnMultiProject=true|[false]
attribute. Specifying true for this attribute value will cause the tag to automatically fall back to using the default space settings if the source for the com.traction.sdk.Project
object would otherwise have come from multiple spaces. The most common case in which this would apply would be when the currently scoped com.traction.sdk.CJournalRequest
has multiple Project
objects, as would happen, e.&proj=*
on the URL. (Server95461)com.traction.sdk.ReferenceIterator
's toEntryIterator(com.traction.sdk.CJournalRequest)
method so that the com.traction.sdk.Reference
that caused the com.traction.sdk.Entry
to be loaded will be set as the current Reference
in scope for SDL evaluation. This is most likely to apply to custom SDL tags, or other custom tags using com.traction.sdk.sdl.tag.SimpleCustomEntryReferencedEntries
, or others using classes that extend com.traction.sdk.sdl.tag.SimpleCustomEntryRelatedEntries
. For general SDK programming, Entry now offers access to that Reference via the new getSourceReference()
method. (Server95725)com.traction.sdk.Attachment
now has two new methods for accessing the com.traction.sdk.Entry
object to which it is attached: getEntryIfAlreadyLoaded()
, which will only return the result if the Attachment
instance was created from an Entry
instance, or if it has been otherwise loaded through some other request; and getEntry()
, with no parameters, which will use the already-loaded version if possible, or else will attempt to load it using a "clean" com.traction.sdk.CJournalRequest
(via com.traction.sdk.Context
's createCleanJournalRequest()
). These can be useful for retrieving the source Entry
without having to perform extra work of loading it, e.Attachment
's getEntry(CJournalRequest)
method. and not having to catch com.traction.sdk.AuthenticationException
or JournalException
, which are highly unlikely for a request to load an Entry
for an Attachment
that has already been retrieved on behalf of the requesting user.ContentFormat
, which is nested in com.traction.sdk.edit.NewEntry
, which is used everywhere in the SDK that a literal String used to be used to specify the format of the content being retrieved or appleid during creation of a new entry or an update to an existing entry. For example, SdkFactory
's createNewEntryEdit
method now has this signature:public abstract NewEdit createNewEntryEdit(TractionId target, Context context, NewEntry.ContentFormat contentFormat)
LabelNameBucket
, which is like the generic "tags" bucket, but collects all system tags -- i.LabelNameBucket
by default for all of TeamPage's built-in EntryClass
es. The main purpose of this is to ensure that no custom entry tags that may be used in plug-ins will ever appear in the general "Tags" form field, since they're not supposed to be modifiable in that way. (Server96111)printversion_use_javascript_print=
property to "true" to indicate that the PrintVersion
action should simply use the built-in JavaScript window.print()
function instead of linking to a Print Version skin view. Use this if you intend to include custom stylesheets targeted at "print" media instead of defining a Print version view or mapping to be used. (Server96152)com.traction.sdk.RapidSelector
's parseLabelName
method now correctly conforms to its published specification when no valid LabelName can be identified from the input, throwing a com.traction.sdk.UnrecognizedLabelException
, and never returning a null or invalid LabelName
instance. (Server96312)EntryClass
es can now elect whether their entries should be copied along with other related entries when copying a Project using the Copy Project plug-in, or the built-in SDK support for copying related entries when copying an entry by adding the copy_goal_include= property, set to "true" or "false", to their configurations. The default behavior is still to copy related entries -- equivalent to a value of "true". (Proteus16801)ViewAction
, NewEntryLabeledArticle
, which works exactly like NewRelatedArticle
but which sets up the related entry to be related via the current entry's entry tag if the entry is eligible for entry tag usage and the requesting user would be allowed to apply it. This uses the com.traction.view.action.NewEntryLabeledEntry
ViewAction
class, so custom versions of this ViewAction
could be configured to use a custom EntryClass for the newly created entries instead of an ordinary article. (Server96697)entry.commentthread.related
/ entry.commentthread.related.count
: covering "significant" related entries.entry.commentthread.tasks
/ entry.commentthread.tasks.count
: covering related tasks.entry.commentthread.events
/ entry.commentthread.events.count
: covering related events.com.traction.sdk.sdl.tag.EntryCommentThreadRelatedEntries
and com.traction.sdk.sdl.tag.EntryCommentThreadRelatedEntriesCount
SDL Tag classes, specifying one or more verbs indicating the sort of incoming relationships to be covered by the tag. (JPBO24256)com.traction.sdk.admin.Principal
now has a getLastRefreshed()
method so that customizations can determine whether the backing data from an external directory is sufficiently fresh for some purpose, or whether the refresh
method may need to be invoked. (Server96772)Principal
s of all types except "system". Previously, the "all" type was available, but would include system type matches. (Proteus16877)getLocalDisplayName(CJournalRequest)
to com.traction.sdk.LabelName
, and a corresponding method to com.traction.sdk.Label
. This also includes SDL tags such as label.localdisplayname
. This allows access to the "local" display name for any label or label name -- i.login-form-azuread-primary.png
mentoring-ip-dashboard.png
teampage_logo.jpg
teampage_logo.jpg