Hi, I wanted to clone a Forge component that is an external logic (library) into my local environment. Is it possible and what are the ways to do it?Thanks.
Hi @Nurul Nabila Zamri ,
What do you mean by cloning? Each ODC has its own instance, which you can access using your credentials through the portal. You can then go to Forge and download the required component into your organization.
If you want your own editable copy, it depends on which part you need to change.
For the OutSystems side only (actions, structures), install it from Forge, open it in ODC Studio and clone it with a new name. That copy is yours and Forge updates won't overwrite it.
Fr the C# code, you can't edit it in Studio. Get the source (most Forge libraries link to a GitHub repo, all the OutSystems Labs ones do), change it in Visual Studio, rename the library in the [OSInterface] attribute so it doesn't clash with the original, then dotnet publish, zip the output and upload it in ODC Portal > External Logic.
Docs: https://success.outsystems.com/documentation/outsystems_developer_cloud/building_apps/extend_your_apps_with_custom_code/
Which component is it? I can point you to where to change it.