Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This is the documentation for ConfiForms Server/Data Center app

However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.


ConfiForms has a lot of various field types to help you with building your data forms. And it has very sophisticated system to retrieve the values stored, including accessing rich objects such as Page, User and other referenced Records when used together with "smart fields"

 

Here is the table showing you how to reference field values for different field types. Our field name is: "myfield"

Field typeAccessing in ConfiForms Field macroAccessing though [entry.] notationUsing in filtersSortingRemarks
Textmyfield[entry.myfield]

myfield:*test

myfield:test*

myfield:*test*

myfield:*

as text 
Action ButtonmyfieldN/AN/AN/AN/A
Autolinkmyfield[entry.myfield]same as text fieldas textonly dynamic part is taken when shown as [entry.] notation
Autonumbermyfield[entry.myfield]same as text fieldas textautonumber with previx
AutopagemyfieldSee page typeSee page typeSee page typeSee page type
Calculatedmyfield[entry.myfield]Same as numeric fieldas numbernon-numeric values are set as 0 in sorting
CaptchamyfieldN/AN/AN/AN/A
Checkboxmyfield[entry.myfield]myfield:true Returns true or false
Checkbox groupmyfield[entry.myfield]myfield:*fieldvalue* to ensure it is matchedas text 
Currencymyfield[entry.myfield]Same as numeric fieldas number 
Datemyfield[entry.myfield] Same as numeric fieldas numbertimestamp value
Datetimemyfield[entry.myfield] Same as numeric fieldas numbertimestamp value
Datetime intervalmyfield

[entry.myfield]

[entry.myfield.startDateFormatted]

[entry.myfield.endDateFormatted]

[entry.myfield.startDate]

 [entry.myfield.endDate]

[entry.myfield.asPeriodFormatted]

myfield.startDate:

myfield.endDate:

conditions as in numeric field

as number by start datetimestamp value
Drawing canvasmyfieldN/AN/AN/Ainternal format is returned
Dropdown

myfield

[entry.myfield]

[entry.myfield.id]

[entry.myfield.label]

myfield:ID

myfield.label:LABEL

as textEach dropdown choice has ID and LABEL
Dynamic Dropdownmyfield[entry.myfield]myfield:*fieldvalue* to ensure it is matchedas text 
Dynamic Multilabelmyfield[entry.myfield]myfield:*fieldvalue* to ensure it is matchedas text 
Enroll buttonmyfieldN/AN/AN/A 
Filemyfield[entry.myfield] - will show as linksame as text, see remarksas textonly attachment/file name is in search
Formulamyfield[entry.myfield]same as numeric fieldas numbernon-numeric values are set as 0 in sorting
Htmlmyfield[entry.myfield]same as text typeas text 
Linkmyfield[entry.myfield]same as text typeas text 
Hiddenmyfield[entry.myfield]same as text typeas text 
Masked Textmyfield[entry.myfield]same as text typeas text 
Multi Selectmyfield[entry.myfield]same as dropdown (ID and LABEL properties)as text 
Numeric fieldmyfield[entry.myfield]

myfield:>=

myfield:>

myfield:<=

myfield:<

myfield:

as number 
JIRA issuemyfield

[entry.myfield]

[entry.myfield.key]

[entry.myfield.title]

[entry.myfield.summary]

[entry.myfield.link]

same as text type and only by keyas text 
Page/Blog postmyfield

[entry.myfield]

[entry.myfield.*] - see remarks

same as text, for properties list see remarksas text, by default pageIdall properties of

AbstractPage class (see Confluence API docs)

Passwordmyfield[entry.myfield]same as text typeas text 
Radio groupmyfield[entry.myfield]   
Readonlymyfield[entry.myfield]same as text typeas text 
SectionmyfieldN/AN/AN/A 
Simple Datemyfield[entry.myfield]Same as numeric fieldas numbertimestamp value
Smart Classifiermyfield

[entry.myfield]

[entry.myfield.*] - see remarks

Depends on a field referenced. If [entry.myfield] or just "myfield" is referenced then in most cases it acts as text.

But with "smart fields" you reference a record in another form and that means through this reference you can get ANY field of that record, including other smart fields. That said, you can build quite a property graph to get any value, which is lazy loaded for you

depends on a field referencedProperties you can access totally depend on a structure of the record in the form you reference. You can access ANY field value through this notation, including other smart fields which will be lazy loaded for you.
Smart Dropdownmyfield

[entry.myfield]

[entry.myfield.*] - see remarks

See Smart Classifierdepends on a field referencedSee Smart Classifier
Smart Multiselectmyfield

[entry.myfield]

[entry.myfield.*] - see remarks

See Smart Classifierdepends on a field referencedSee Smart Classifier
Smart Checkboxmyfield

[entry.myfield]

[entry.myfield.*] - see remarks

See Smart Classifierdepends on a field referencedSee Smart Classifier
Smart Radio buttonsmyfield

[entry.myfield]

[entry.myfield.*] - see remarks

See Smart Classifierdepends on a field referencedSee Smart Classifier
Statusmyfield[entry.myfield]

Same as dropdown field, with IDs and LABELs. But has predefined values for IDs (depending on a colour)

as text 
Textareamyfield[entry.myfield]same as text typeas text 
User

myfield

myfield.username

myfield.fullName

myfield.picture

myfield.email

[entry.myfield]

[entry.myfield.username]

[entry.myfield.fullName]

[entry.myfield.picture]

[entry.myfield.email]

same as text type, but you can query for field properties:

myfield:

myfield.username:

myfield.fullName:

myfield.picture:

myfield.email:


as text, see remarkssorting is by username field
User (multiselect)myfield[entry.myfield]Same as Useras text 
Voting controlmyfieldN/AN/AN/AN/A
WYSIWYG simple editormyfield[entry.myfield]same as text typeas text 

 

Accessing through [entry.] notation can be used in ListView, in PlainView, in CalendarView and in IFTTT macro body, as well as when referencing ConfiForms record fields in macro parameters

See also Virtual functions to help you with formatting values in the format you want


Accessing values using Velocity syntax is deprecated and not supported in 100% of cases. Please try to accomplish what you have to do using [entry.] notation



  • No labels