I am struggling with the subject of a dynamic stamp I am creating.
The stamp receives user input for its visual representation.
In our case it is a BoQ number in some alphanumeric format like "10.10.0250".
Now this works like a charm with this code:
Code: Select all
if((event.source.forReal)&&(event.source.stampName == "#X1csF23c_6cU88RQPEZjO0"))
{
this.getField("UserText").value = app.response(
{
cQuestion: "Positionsnummer",
cTitle: "Eingabe Stempelinhalt",
cDefault: "",
cLabel: "Positionsnummer:"
}
) || "";
}
But now I would like to have this identifier "10.10.0250" as the subject of the stamp here so we can export that later on as a csv to import it in the QTO tool.
Sadly AI is not helping anymore and I grit my teeth because I feel like I am so very close.
It seems to come down to timing but no delay in the code did anything to the outcome.
I hope you guys can help me figure this out.
Thanks a lot already!
Best regards