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
It may be good to add same verification on the id for text update.
//CHANGING TEXT CONTENT based on svgElementID
var item = svgDoc.getElementById(resultSet[i][(_.first(_.where(metadata, {"colName": "svgElementID"}))).colIndex]);
if (item) {
text = svgDoc.getElementById(resultSet[i][(_.first(_.where(metadata, {"colName": "svgElementID"}))).colIndex]);
text.textContent = resultSet[i][(_.first(_.where(metadata, {"colName": "value"}))).colIndex];
} else {
Logger.log("### ID " + resultSet[i][(_.first(_.where(metadata, {"colName": "svgElementID"}))).colIndex] + " WAS NOT FOUND ON SVG STRUTURE ###");
}
The text was updated successfully, but these errors were encountered:
Hi,
It may be good to add same verification on the id for text update.
//CHANGING TEXT CONTENT based on svgElementID
The text was updated successfully, but these errors were encountered: