ProjeQtOr free project management software - plugins - Template Engine - DOCX - ProjeQtOr
 

plugins - Template Engine - DOCX

More
04 Sep 2019 15:32 - 04 Sep 2019 15:35 #1 by lsigroup
Hello,

I have to built a DOCX template for Activity.
Everything works except the nameContact of the Ticket type links of the Activity.

The DOC Table of the templates works for the first two columns but not the third wich use a field of the type Ticket....

Demande Nom Demandeur
#[link_ticket.id;block=tbs:row] [link_ticket.refName] [link_ticket.object.nameContact]
Last edit: 04 Sep 2019 15:35 by lsigroup.

Please Connexion or Create an account to join the conversation.

More
04 Sep 2019 15:50 #2 by babynus
Possibly it is a formating issue.
Word adds not visible formating.
To fix this.
1) disable spell checking
2) copy code [nameContract]
3) paste code in a text editor (notepad or notepad++)
4) copy from text editor
5) paste code at its initial place
6) save docs reload template and test.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
04 Sep 2019 16:02 - 04 Sep 2019 16:03 #3 by lsigroup
No, i'm sorry but it desn't work more.
Is the field name good : [link_ticket.object.nameContact] ?
Last edit: 04 Sep 2019 16:03 by lsigroup.

Please Connexion or Create an account to join the conversation.

More
04 Sep 2019 16:54 #4 by babynus
Is the field name good : [link_ticket.object.nameContact] ?
Of course not

Available fields are listed on template rpoert screen :
link Link
link.id id
link.ref1Type
link.ref1Id
link.ref2Type
link.ref2Id
link.comment
link.creationDate
link.idUser
link.nameUser
link.ref1Name
link.ref2Name
link.refType
link.refId
link.refName]
link.refTypeName
link.refStatus
link.refResponsible
link.refInitialDueDate
link.refActualDueDate
link.refDate

You can replace link. with link_ticket. (or other class) but that's all

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.035 seconds