Hi,
i try to extend the preview of pdf files, as Rob Novak explained it in his blog (
http://www.lotusrockstar.com/blog/robblog.nsf/d6plinks/RNOK-8GAPWR) but my widgetRegistryConfig_ext is already filled by another widget (Projexec) :
{
registerWidgets:
[
{
type: 'registermodulepath',
name: 'projexec',
path: '/projexec'
}
,
{
type: "page",
condition: "(object.entry.fields.c_trilogiframelink.length > 0)",
use: "projexec.page.iframepage"
}
]
}
When i put the registermodulepath and the globalreplace, it stops the Place that used the previous widget, and the preview doesn't work :
{
registerWidgets:
[
{
type: 'registermodulepath',
name: 'projexec',
path: '/projexec'
}
,
{
type: "page",
condition: "(object.entry.fields.c_trilogiframelink.length > 0)",
use: "projexec.page.iframepage"
}
,
{
type: 'REGISTERMODULEPATH',
name: "snapps",
path: "/snapps"
},
//Register renderPreview module to allow PDF inline view, instead of the KeyView PDF preview.
{
type: 'globalreplace',
source: 'quickr.widgets.page.field.renderPreview',
use: 'snapps.widgets.page.field.renderPreview'
}
]
}
Does somebody see where i did it wrong ?
Thansk for answer.
Olivier