This will be difficult, because favourites are stored in the KUAFPrefs table in an "assoc" datatype. Only the DataIDs of each favourite are stored in this assoc.
For example:
Before placing the last 3 favourites into a new "Specials" favourites tab, my KUAFPrefs table stored the Favourites tabs as follows:
PrefsID = 1000
PrefsKeyWord = PersonalFavoritesTabs
PrefsValue = A<1,?, 1=A<1,?,'ButtonBar'=false, 'Contents'=A<1,?,3202=1,3211=1,5375=1,29541=1,31623=1,32062=1>,'Dft'=true,'Label'='All','Select'=false,'System'=true>, 2=A<1,?,'ButtonBar'=false, 'Contents'=A<1,?>,'Dft'=false,'Label'='Specials','Select'=false,'System'=false>>
After placing the last 3 favourites into a new "Specials" favourites tab:
PrefsValue = A<1,?, 1=A<1,?,'ButtonBar'=false, 'Contents'=A<1,?,3202=1,3211=1,5375=1,29541=1,31623=1,32062=1>,'Dft'=true,'Label'='All','Select'=false,'System'=true>, 2=A<1,?,'ButtonBar'=false, 'Contents'=A<1,?,29541=1,31623=1,32062=1>,'Dft'=false,'Label'='Specials','Select'=false,'System'=false>>
Notice in the PrefsValue the "Contents" component for both the "All" tab and the "Specials" tab:
"All" tab:
'Contents'=A<1,?,3202=1,3211=1,5375=1,29541=1,31623=1,32062=1>
"Specials" tab:
'Contents'=A<1,?,29541=1,31623=1,32062=1>
- Bhupinder
------------------------------------------------------Bhupinder Singh, B.Math., B.Ed.Senior Product Specialist, Customer SupportOpen Text Corporation, Waterloo, Ontario, CanadaCustomer support e-mail: support@opentext.comCustomer Support Telephone: 800-540-7292------------------------------------------------------
This Oracle-specific function definition extracts a specified Assoc value from DTree.ExtendedData. It searches for '<valuekey>'='<value>' and returns <value>.
To use this function, you can call it from within a SELECT statement, passing the parameters it wants. This example call returns all of the SQL query definitions that are embedded inside a LiveReport definition in DTree.ExtendedData.