Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Michael.Navara
in reply to: cavallerin

If number 49 works now, you can obtain its ClientId and use it instead of this index. This Client id is persistent for whole lifecycle of the addin.

ww4iClientId=inv.ApplicationAddins.Item(49).ClientId

 

ww = inv.ApplicationAddIns.ItemById(ww4iClientId).Automation
# Or
ww = inv.ApplicationAddIns.ItemById('WW4I-CLIENTID-GUID-HERE').Automation

 

Sorry I'm not familiar with python. Excuse me if there are some syntax error.