How to enable or disable a TIBCO Data Virtualization data source using a Procedure?

How to enable or disable a TIBCO Data Virtualization data source using a Procedure?

book

Article ID: KB0075969

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0 and higher

Description

How to enable or disable a TIBCO Data Virtualization data source using a Procedure?

Issue/Introduction

How to enable or disable a TIBCO Data Virtualization data source using a Procedure?

Resolution

The library procedure /lib/resource/UpdateResourceEnabled may be used to enable or disable a data source. The procedure takes three inputs:

path: The path of the resource (e.g. /shared/examples/ds_inventory)
type: The type of the resource. (DATA_SOURCE)
enabled: TRUE or FALSE( if set to TRUE, the resource will become enabled and if FALSE, the resource will become disabled)

    User-added image