Forum Discussion

sachin's avatar
sachin
Mentor
8 years ago

[SDK] seeing weird behaviour while updating custom text key via SDK

Hi,

I was trying to add a custom text key in community via SDK. I added the key in text.en.properties file and uploaded the plugin. When I did the key search I was able to see it. But I am not able to see  it in the text properties under community text.

Next I added a custom text key via UI and exported the plugin to see if that gets added to the file "text.en.properties".

 

After export I am able to see it in the file "text.en.properties" however I am not seeing my original text key which I added via SDK. When I searched for the key in the Text key UI search I am able to see it again. This is strange I can not see it the text in SDK plugins nor in UI as part of all text keys but if I search you that specific key I can see that in UI.

 

Let me know if anyone can help me with the issue.

 

Thanks,
Sachin

 

 

 

  • Unfortunately we don't merge custom text properties created via studio with text properties that have been added to the text.en.properties file when you export them from studio to the SDK (using the li export-studio-plugin script), but completely overwrite the text.en.properties file that is in the SDK plugin. We also do not support copying text keys that are in the SDK plugin over to the studio plugin (which is why you didn't see the text keys under "custom text" in the studio text editor).

  • DougS's avatar
    DougS
    Khoros Oracle

    Unfortunately we don't merge custom text properties created via studio with text properties that have been added to the text.en.properties file when you export them from studio to the SDK (using the li export-studio-plugin script), but completely overwrite the text.en.properties file that is in the SDK plugin. We also do not support copying text keys that are in the SDK plugin over to the studio plugin (which is why you didn't see the text keys under "custom text" in the studio text editor).