N Devi Navya | Posts: 27

Update Package Builder

0 votes
Hello Team, Is their a way to update package builder after package is build. We did not find any relevant methods. Thanks, Navya.

harishaidary | Posts: 1812

Reply to: Update Package Builder

0 votes
Hi Navya, There isn't a specific method to update your DocumentPackage object. Once your DocumentPackage object is built, you can update relevant settings as shown below:
DocumentPackage pkg = PackageBuilder.NewPackageNamed("test")
    .DescribedAs("Example description")
    .Build();

pkg.Description = "Updated description";

N Devi Navya | Posts: 27

Reply to: Update Package Builder

0 votes
thank you

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