You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was using documentbuilder v7.5 from the cli using docbuilder.
Had a .docbuilder file whose first line was
builder.OpenFile('myfile.xlsx')
Next line was Api.GetSheet... got an error message saying Api not defined.
After messing around figured out that if single quotes are used instead of double quotes the tool doesn't properly process the builder.XXXXX commands. Using the debugger it seems like those commands are specially cut out and ran through C++ so I'm guessing the code doesn't properly extract the arguments. Same goes for builder.CreateFile('docx') ...only works for builder.CreateFile("docx").
For now will just use double quotes, but I typically use single quotes when writing javascript which is how I fell into this.
Thanks!
The text was updated successfully, but these errors were encountered:
Was using documentbuilder v7.5 from the cli using docbuilder.
Had a .docbuilder file whose first line was
builder.OpenFile('myfile.xlsx')
Next line was
Api.GetSheet...
got an error message saying Api not defined.After messing around figured out that if single quotes are used instead of double quotes the tool doesn't properly process the builder.XXXXX commands. Using the debugger it seems like those commands are specially cut out and ran through C++ so I'm guessing the code doesn't properly extract the arguments. Same goes for
builder.CreateFile('docx')
...only works forbuilder.CreateFile("docx")
.For now will just use double quotes, but I typically use single quotes when writing javascript which is how I fell into this.
Thanks!
The text was updated successfully, but these errors were encountered: