Closed mwtoews closed 4 years ago
hi, sorry for the delayed answer, this somehow got out of my radar ^^
but I have some good news!
claimGuid
was removed from the documentation to avoid confusion (e267e08)v4.6.0
, maybe you don't need to get the claim guid anymore: qualifiers and references can directly be added from wbEdit.claim.add
\o/ (or rather from wbEdit.claim.create
as we now prefer to call it)
The How-to guide describes
wdEdit.claim.add
, which works wonderfully. However, to add qualifiers and references for this claim, a GUID is required. The How-to shows aconst claimGuid
declaration, but does not demonstrate how to get theclaimGuid
for a claim. An example to get this dynamically would be appreciated.Also, the how-to uses
const claimGuid
, but uses a different name,guid
, in some of the functions. This is possibly an error, as these functions should useclaimGuid
.