Re: [SMW-devel] Setting semantic properties from code

2012-09-27 Thread Jeroen De Dauw
Hey, AFAIK if a normal property shows up on Special:Browse it should also show in the factbox. If you're setting it programatically you will need to wait until the cache of the page gets invalidated before the factbox updates, or invalidate the cache yourself. Cheers -- Jeroen De Dauw http://www

[SMW-devel] Setting semantic properties from code

2012-09-25 Thread vedmaka
Hi, everyone! I have a question about setting-up semantic properties from code. Is it right way to do like that? For example, lets set property "NewProp" with value 31337 on page "Bridge": $propertyDv = SMWPropertyValue::makeUserProperty( 'NewProp' ); $propertyDi = $propertyDv->getDataItem(); $