Skip to main content
Marcel_Szimonisz
Community Advisor
Community Advisor
Mar 15, 2018 1:39 PM UTC
Question

Removing additional function from xtk:funcList

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?

Adding additional SQL functions

Thank you,

Marcel

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

florentlb
Level 10
Apr 18, 2018 10:17 AM UTC

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

Translate
Marcel_Szimonisz
Community Advisor
Community Advisor
Apr 18, 2018 10:56 AM UTC

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

Translate
florentlb
Level 10
Apr 19, 2018 10:31 AM UTC

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

Translate
Marcel_Szimonisz
Community Advisor
Community Advisor
Apr 19, 2018 10:36 AM UTC

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

Translate
Level 2
Aug 27, 2020 3:01 PM UTC

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.

Translate