IT_User Posted June 16, 2016 Posted June 16, 2016 Problem: When using the function ScribeDocSubstitute it does not replace the text. It instead replaces it to be blank. Versions: FM Server: Version 13 FM Pro: Version 14 Other info: I have developed in FM Version 13, which the function works in that version with an earlier version of Scribe. In testing in FM 14 with Scribe 2.15 the words end up blank. My OS is Mac OSX 10 (Yosemite), and the other person I am developing for has FM 14 on a Mac with Scribe 2.15. I have used Java 8 and then downgraded to Java 6, but there doesn't seem to be a difference.
IT_User Posted June 17, 2016 Author Posted June 17, 2016 I was using Content Control fields in MS Word, which supposedly works with the function ScribeDocWriteValue. (It did not when I tried that function.) When removing the Content Control fields and replacing it with regular text the ScribeDocSubstitute function seems to work.
ryan360Works Posted June 20, 2016 Posted June 20, 2016 Hi IT_USER, Do you get any errors when using ScribeDocWriteValue to write to a content control field? If you call ScribeDocListFields, do you get a list of named fields in the document? If so are you writing to one of the fields in the list?
IT_User Posted June 24, 2016 Author Posted June 24, 2016 Hi Ryan, Being the the ScribeDocSubstitute works, I have not tried this. But I can look into it. Thanks!
Recommended Posts
This topic is 3415 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now