AngelaIp / add-ssrs-reports-to-vault

How to get files from the SSRS Report Server
Microsoft Public License
3 stars 2 forks source link

Use Sequence for Document instead of fixed item_number #2

Closed AngelaIp closed 5 years ago

AngelaIp commented 6 years ago

This code snippet does the job:

var docItem = inn.newItem("Document","add"); string sequenceVal = inn.getNextSequence("Default Document"); docItem.setAttribute("useInputProperties", "1"); docItem.setProperty("item_number", sequenceVal);

AngelaIp commented 5 years ago

Was fixed in latest version.