There is an unreleased blcli command called "ComponentException removeComponentExecptionByName <name of exception> <componentKey>" that should do the removal.
There's another unreleased blcli command called 'Component findComponentExceptions' that looks like it will dump the exceptions, from that list you can probably do a ComponentException get* - like getName, getReferenceNumber, etc
as far as interting a date there is another unreleased command - ComponentException createComponentException that will take the date, it's the 3rd version of that command.
i suggest you generate the unreleased blcli help and take a look through there. there's a 'document' on the scripting community about that.
let me know if you get stuck.
Marking thread as Answered. Please modify if you still need assistance with this task.
Bill - Sorry but whre can I find these scripts?
Here's what I wrote a while ago for similar request. This removes exception from all components of a template. Feel free to review, modify and use.
blcli_execute Template getDBKeyByGroupAndName "$TEMPLATE_GROUP" "$TEMPLATE_NAME"
blcli_execute Component getAllComponentKeysByTemplateKey $TEMPLATE_DBKEY
for KEY in $COMPONENT_KEY
KEY=`echo $KEY | tr -d '[:cntrl:]'`
blcli_execute ComponentException removeComponentExceptionByName "$EXCEPTION_NAME" "$KEY"
Is there an easier way to remove exceptions or is this still the way to go?
it looks pretty easy to me...
Hi Bill, Thanks for the replies.
previously you mentioned "i suggest you generate the unreleased blcli help and take a look through there. there's a 'document' on the scripting community about that."
May I know where can I generate the unreleased BLCLI help?