Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

plugins - Template ...
 
Notifications
Clear all

plugins - Template Engine - DOCX

4 Posts
2 Users
0 Reactions
1,631 Views
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 
[#6231]

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]


 
Posted : 04 Sep 2019 17H32
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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.


 
Posted : 04 Sep 2019 17H50
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

No, i'm sorry but it desn't work more.
Is the field name good : [link_ticket.object.nameContact] ?


 
Posted : 04 Sep 2019 18H02
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 
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


 
Posted : 04 Sep 2019 18H54
Share:

Scroll to Top