Custom Application Registration Client Value Overwriting #3416
Replies: 4 comments 11 replies
-
Hello @kristerslinde ✋ Thanks for reaching out 👍 Let me start with the icon question. Regarding the Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello @CarlosCortizasCT Regarding the icon, won't the client/user be able to override this in the application registration? It's a similar issue as with the icon, we want to make sure the user/client can't edit the entryPointUriPath and it would be, for example, 'my-integration-application' in the config file and they couldn't edit it. Is that even possible? Best Regards, |
Beta Was this translation helpful? Give feedback.
-
Hey Carlos, Maybe there is an option to disable creating a custom entryPointUriPath for the client and make it static always? Best Regards, |
Beta Was this translation helpful? Give feedback.
-
Hi there @CarlosCortizasCT! I'll make sure to try to elaborate. We are working on the custom application (https://docs.commercetools.com/custom-applications/getting-started) we created using the template. Our connector app works, but currently, we have the I'm trying to extract the But when I try to request a preview of the Connector App - it gets rejected. The only difference between the accepted Connector App and the rejected is the mc-app config. Here are some code snippets: connect.yaml
custom-application-config.mjs:
I should mention that locally the app works just fine, We would really appreciate it if you could help us with this. |
Beta Was this translation helpful? Give feedback.
-
Hello,
We are working on a service and we ran into some questions.
We have some values in the config file, most importantly entryPointUriPath.
Currently, as I understand it, the value gets overwritten by what is passed by the client during the custom application registration. Is it so? Is it possible to somehow disallow this and use the values from the 'custom-application-config.mjs'?
The second question comes out of the first one. In our local build, we managed to set the 'config.icon' to a custom icon, and it worked properly and ended up in the production build. But again, during the application registration, the end user is required to select an icon from the dropdown menu inside the Merchant Center, is it possible to override this?
If it is not possible to override these values, then what would you suggest to do so these values are, say 'hardcoded'?
Best Regards,
Kristers Linde
Beta Was this translation helpful? Give feedback.
All reactions