I came across something I thought would be trivial but seems poorly documented.
In the SPA demo project I attempted to create a PageLink component to simply link to a chosen page. I do not see a way to convert the UUID to a path name so that it's usable. I must be missing something simple...
The dialog:
```
label: Page Link
form:
properties:
target:
label: Choose Page
$type: pageLinkField
identifierToPathConverter:
class: info.magnolia.dam.app.assets.field.translator.AssetCompositeIdKeyTranslator
text:
label: Label
$type: textField
i18n: true
```
After linking to the homepage the json result for the component is:
```
{
@id: "6d2a9522-beac-4416-a0e1-d6049cad8d2f"
@name: "03"
@nodeType: "mgnl:component"
@nodes: []
@path: "/react-minimal/contact0/main/03"
mgnl:created: "2021-03-03T09:58:01.911-06:00"
mgnl:lastModified: "2021-03-03T09:58:01.911-06:00"
mgnl:template: "spa-lm:components/pageLink"
target: "066761ae-f69b-4029-9900-496259837d2d"
text: "Home"
}
```
I was hoping to get the path reflected in the dialog. What am I missing? `identifierToPathConverter` seems pointless.