I know this is an old post, but it if you're still around Svetoslav, would you mind clarifying a couple things?
Svetoslav Petsov said:it is used when working with/changing the current item. The Persisted Value is what gets written in the database.
I'm trying to understand Lstrings. it looks like they can be tricky to work with. Can you expand on your statement? If I'm changing the current item, don't I want the value I'm setting written in the database? Why then is Value the correct property to use if PerisistedValue gets written in the database?
Svetoslav Petsov said:The service returns only the value of the LString, as it properly hides the URI template and returns only the needed property (the persistedValue shouldn't be returned, as it is used only internally in Sitefinity and shouldn't be publicly accessible).
This would be great. So now in version 7.2, why does the NewsItemService GetContent method return the Lstring objects with value and persisted value? Having to deserialize what is logically a single string property to an object with redundant values is difficult to work with.