Accenture / sfmc-devtools-copado

SFMC DevTools made easy using Copado Multi-Cloud's webinterface
MIT License
8 stars 2 forks source link

[BUG] filter dataextensions ending on "_Salesforce" or on "_Salesforce_1" #227

Closed JoernBerkefeld closed 2 years ago

JoernBerkefeld commented 2 years ago

Current Behavior

all entries are returned to the retrievetable including shared dataextensions

Expected Behavior

we should filter a entries that cannot be deployed. "Shared DataExtensions" are not deployable and hence we should not allow selection (nor show them). These can be recognized by the suffix "_Salesforce" and optionally a secondary suffix "_n":

image

I think this filter will do: /(_Salesforce)(_\d)?$/g

seems to work for both situations: image image

DannyCastroVentura commented 2 years ago

Should this one be prevented to show as well?

Image

If yes, that regular expression would not work:

Image

This would:

Image

DannyCastroVentura commented 2 years ago

Couldn't test it

JoernBerkefeld commented 2 years ago

re-opening as pr is not merged / reviewed yet