Hi Tomislav,
Ok, it makes more sense now I think, thanks. You want your webpart to display to the website user "ValueVisibleToTheContentEditor0" or "ValueVisibleToTheContentEditor1", right?
Unfortunately, it's not possible. When content editors select something from this drop-down, CMS writes "valueProvided0" in the database. Then, when the webpart retrieves this page from the database, it gets only what's stored in the database - "valueProvided0". It doesn't even know that page type has some field display config for this drop-down. There are a couple of options how to implement it:
First. Duplicate this configuration for the web part as well (either hardcode or in config) so that web part can resolve "valueProvided0" into "ValueVisibleToTheContentEditor0". This is the simplest but not recommended route.
Second. Use localization macros. Change page type config like this:
valueProvided0;{%valueProvided0%}
valueProvided1;{%valueProvided1%}
Then add valueProvided0 and valueProvided0 localization strings. In this case you would be able to get this localization string by calling ResHelper.GetString("valueProvided0")
as kind of translation.
Third. Create a separate "dictionary" table that will be storing these values as key-value. It could be module custom class, or custom table. In this case you could use this dictionary table for both page type drop-down config (with SQL query for example) and within web part you would be able to query the value by the stored key.