Forum Discussion
Hi phani,
It looks like you perhaps exported the Studio plugin to the SDK plugin, but didn't clear the Studio plugin before you uploaded your local SDK changes. Files with the same name in the Studio plugin will always override versions in the SDK plugin.
You have two options to clear the versions in Studio plugin.
You can use li clear-studio-plugin at the command line with the specific plugin point flag:
li clear-studio-plugin --points asset, badge_icon --force
If you're doing this, be sure that you have exported all files from the Studio plugin to the SDK plugin first. (I'm guessing you did this export already.)
Alternatively, if you have just a few specific asset and badge icons you want to override, you could delete those specifically from Studio using the Studio UI. This option works around the all-or-nothing nature of the li clear-studio-plugin command.
Hi SuzieH,
Thanks for the clarification.
I am trying to understand what exactly clear-studio-plugin command does? Could you please provide more clarity on following commands?
1. clear-plugin
2. clear-studio-plugin
Thanks & Regards,
Phani
- SuzieH9 years agoKhoros Alumni (Retired)
Hi phani
I meant to follow up with you on this earlier. I've added more information to the Developer Workflow section of the SDK documentation about clearing the studio and sdk plugins. It talks about From the SDK documentation, go to Learn > Developer Workflow and scroll to the Creating a Development Strategy section. (We're also working on getting deep linking working in the Developer Documentation Portal.)
- phani9 years agoAdvisor
Great! Thank you SuzieH,
Could you please help us to solve the following scenario?
1. We have 3 new custom components, 3 endpoints and 2 custom pages.
2. Places above components in their places in local repository.
3. Submitted the plugin using "li submit-plugin"
All new components,endpoints and custom pages are uploaded into community. In this case we did not perform studio export before submitting the plugin since we do not want all components, endpoints, and pages in our local repository and also SDK icon in studio should only show to the newly uploaded components,endpoints and custom pages.
Now we want want to perform some changes in the components which we uploaded in previous SDK push.
We have used the same command which is "li submit-plugin".
But command prompt throwing the following error "A file in SDK plugin is overridden in Lithium Studio".
We are unable to upload the changes using SDK plugin
Thanks & Regards,
Phani
Related Content
- 7 years ago
- 9 years ago
- 5 years ago