Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Scribe Error with Word tables

Featured Replies

When I try to extract fields that are in a table inside Word with Scribe I get an Error message 'Cannot resolve value for tag:...'.

Trying to write to fields inside a Word table corrupts the Word document. Word says it has problem with the content.

I can't see anything in the forum or documentation to say you can't do this.

Are tables not supported in Word by Scribe?

Screen shot 2011-03-23 at 6.30.46 PM.png

Scribe supports reading from .doc files with ScribeFileAsText and .docx files with ScribeDocReadValue, ScribeDocSubstitute and ScribeFileAsText. ScribeDocReadValue and ScribeDocWriteValue will allow you to write to/from text content control fields but not to table cells at this time (like you can with .xlsx documents). What function are you calling to write to the cells in your table?

  • Author

I'm using .docx files. I'm using your 'How to use Scribe' document, which is using ScribeDocReadValue and ScribeDocWriteValue.

Will this be an option is a release soon? Could you add to your documentation that Word tables are not included? (It took me a day to trouble shoot this.)

  • Author

It also seems to not work on tags in text boxes.

Does it only work on the default body of the Word document?

Is there any way to make it work with a layout that looks like a form/table in Word?

I'm still not clear about what values you're passing in to the writevalue and readvalue function. Are you passing cell names or content control field names?

  • Author

For the readvalue I'm passing the name of the field to extract. The field name comes from the tag in the .docx file and can be verified by using ScribeDocListFields.

The writevalue passes the field name and value to write into that field.

  • 2 weeks later...

I'm not able to reproduce this in my test in. I have been able to successfully write to a text content control field in a table. Could you upload or email me a document in which the write is failing for you?

  • Author

I have attached a file with a simple table.

The tags can be extracted, and they are:

FamilyName

Date

Helper

Phone

I can write to these tags but I get an error trying to extract the data.

_TableTest.docx.zip

I have been able to reproduce the issue of reading from a content control field in a table and will look into this issue. So far I have not been able to reproduce a problem with writing to a content control field in a table.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.