Page 1 of 1

About templates...

PostPosted:Sat Oct 13, 2012 11:25 pm
by macjaeger
I want to use pdf-forms as templates, but I think I need some help here...

I created a simple property group (named "okg:test", containing property "okp:test.name" with type text), and registered it:
Clipboard01.jpg
Clipboard01.jpg (16.36 KiB) Viewed 1794 times
I created a simple test-form in OpenOffice, added a textfield (named "name"), and created a pdf form through "export as pdf":
Clipboard02.jpg
Clipboard02.jpg (43.58 KiB) Viewed 1794 times
Clipboard04.jpg
Clipboard04.jpg (26.69 KiB) Viewed 1794 times
I uploaded the pdf-file to okm:templates, assigned the okg:test property-group. Then I switched to taxonomy and created a new file from template. As expected, the wizard asked for the name-property, and the sample text I entered was saved into the property-fields, but it didn't fill the field inside the pdf-file.

Could someone please give me a hint, where I went wrong? I'm using OpenKM 6.2 CE, bytheway. Thanx!

Re: About templates...

PostPosted:Sun Oct 14, 2012 11:08 am
by jllort
Name should be complete property name okp:test.name

Re: About templates...

PostPosted:Sun Oct 14, 2012 3:23 pm
by macjaeger
Thank you for your reply! It doesn't work, though, at least not as stated. I had to exchange the colon and period with underscores (I think I found this info somewhere in this forum, but didn't follow the clues back then...), like "okp_test_name" instead of "okp:test.name". Now it works as advertised, and it's a great feature to have!