0

Is there a way to rename column names with WSProxy or another SSJS method in DEs? Columns have data in there so I cannot remove and add again.

EDIT: I get this in error message when using WSProxy to delete/updateItem:

WSProxy object is not valid in sendable content. This function is only allowed in non-sendable content

I guess we cannot use WSProxy

7
  • ampscript.xyz/how-tos/…. Have you tried this method? Nov 2, 2021 at 11:24
  • Are you using wsproxy in a script activity? and not an email
    – EazyE
    Nov 2, 2021 at 12:29
  • WSProxy in script activity and the above mentioned url gave that error message. So i guess WSProxy cannot be used with sendable DEs Nov 2, 2021 at 20:32
  • I was able to use the example WSProxy scripts Ivan has on his blog no problem. Perhaps if you share the code snippet you created, we can see where you went wrong? Nov 3, 2021 at 12:41
  • Hello @Gortonington have you tried that on sendable DE that is part of attribute group? Nov 18, 2021 at 9:03

1 Answer 1

0

I have changed script did proper error handling and it works for any type of Data Extensions. I cannot recreate the error I did get the other time.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .