Removing additional function from xtk:funcList

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

MarcelSzimonisz
MVP

15-03-2018

Hello All,

I know how to add and change functions to - func list. But how do we delete them if needed?

Do I have to run procedure to remove these from DB or is there any way how to do it from the rich client?

Or just remove lines i want in the xtk:funcList?

1442897_pastedImage_4.png

Adding additional SQL functions

Thank you,

Marcel

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar

NaiyapornS

Avatar

NaiyapornS

NaiyapornS

27-08-2020

Hello All,

I write a workflow with javascript below:

A simple workflow Start->Javascript->End

 

==================================================================

var name = "YourFuncName"
var namespace = "YourFuncNamespace"
var event =
<funcList
xtkschema="xtk:funcList"
_operation="delete"
_key="@name,@namespace"
name={name}
namespace={namespace}
/>

xtk.session.Write(event);

==================================================================

 

Caution: Make sure that you put the correct name and namespace variable before proceed.

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

MarcelSzimonisz
MVP

19-04-2018

Hello,

I want to remove these additional functions I have added to xtk:funcList by following  Adding additional SQL functions tutorial. I want to know the approach in case of fallback

Best regards,

Marcel

Avatar

Avatar

florentlb

Avatar

florentlb

florentlb

19-04-2018

Hello,

So the functions you want to remove are default ones or the ones you added? If they are the ones you added, you should be able to remove them from your additional list.

Florent

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

MarcelSzimonisz
MVP

18-04-2018

Hello,

Thank you for the answer. But i have added additional function to that list by following the docu.. but i have no idea how to remove additional functions just delete the additional funct list from the xtk:funcList?

Marcel

Avatar

Avatar

florentlb

Avatar

florentlb

florentlb

18-04-2018

Hi Marcel,

I think that the funcList schema is protected by default (unless you have admin rights) - see: https://docs.campaign.adobe.com/doc/AC/en/CFG_Editing_schemas_Protecting_schemas.html

You can also try the following: Delete attributes from native schema

Florent