Topic on Extension talk:RDFIO

Applying Forms upon import

2
Amagnien2 (talkcontribs)

Hello,

On my SMW website (not yet public), I have created a "class" with all bells & whistles : category, page form, template, properties...

I can import a page (from Turtle format) where the page has the property rdf:type "TestClassCategoryName"; the result is ok, the page belongs to the category "TestClass" as expected, but thee template does not get applied. All property values appear as free text.

I can click on the tab "Edit with form", and I see it appearing with the mention "Warning: This page already exists, but it does not use this form.". The form is indeed the intended one, that I linked with the category, and as mentioned before, all semantic properties appear as properly encoded with double brackets etc. in the free text box, while all property boxes are empty. See screenshot.

Is there a way to "force" the filling of the form with the property values? I could not find any indication by browsing through the web or through this site.

TIA

Airy Magnien

screenshot
SHL (talkcontribs)

Hi again Airy,

This again seems to be a bug in RDFIO. I think it is related to Issue 58 on GitHub. Templates are not automatically applied, if the page is not already using a template.

I'd love to have a look at it, but is very constrained on time unfortunately, so don't know when I can do it. Any contributions are welcome. E.g, if somebody could make a rough patch / pull request, I could look over it and finish it.

Best Samuel

Reply to "Applying Forms upon import"