Skip to content

[FAQ][Medium] type-error-appendchild.md: Option 1 sample missing AutoLoad/Containers precondition #1055

Description

@lyzhang0113

File: _articles/faq/type-error-appendchild.md
Severity: Medium

Found via a full FAQ accuracy audit cross-referencing the FAQ set against the API reference docs (_articles/info/api/).

Claim: Option 1's sample calls Dynamsoft.DWT.CreateDWTObjectEx({WebTwainId: 'myDWT'}, ...) directly, with no mention of disabling auto-load first.

Contradicting doc: Dynamsoft_WebTwainEnv.md's CreateDWTObjectEx() caution note says to set AutoLoad = false and Containers = [] first — exactly the precondition that prevents the race producing the appendChild error this FAQ is meant to fix. Option 2 in the same file does set it, making Option 1's omission look like an oversight.

Proposed fix: Add the same AutoLoad = false;/Containers = []; step to Option 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions