HanyuChen

PackageBuilder in .net sdk

0 votes
Hello, Is there a way to update package builder after package is build? There's no method found in the SDK. Please advise. Thanks so much.

Reply to: PackageBuilder in .net sdk

0 votes
Hello there, Once Package was built, it can't be reverted to PackageBuilder. If you were trying to update package level attributes, like expiry date or package description, etc, you could directly change package object and then call the .UpdatePackage() function:
            
pkg1.ExpiryDate = DateTime.Today.AddDays(15);
eslClient.UpdatePackage(pkg1.Id,pkg1);
If you want to update other bit of metadata other than package level attributes, find the related service class and call the update function there instead:
eslClient.ApprovalService.UpdateApprovals(....);
Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off