Custom Widget is not appearing in widgets list in xCP Designer
I have a widget which I have developed for using in xCP Designer and to be dropped onto the interface pages. It is a bare bones one because I just want it get it worker before I tackle anything more complex.
The following is the JavaScript
Ext.define("stg.widgets.demographics", {
extend: 'Ext.Component',
alias: 'widgets.demographics',
initComponent : function() {
}
});
I can't see any error in the javascript
and the corresponding config file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://documentum.emc.com/2010/UI-Model" xmlns:xcp="http://documentum.emc.com/xcp/2010"
id="demographics" xtype="demographics"
version="1.0.0000.001">
<name>Patient Demographics</name>
<description>Display Patient Demographics.</description>
<author email="paul.chapman@stgeorges.nhs.uk">Joseph Wong</author>
<icon src="icons/person_24_wig.png" width="24" height="24"/>
<icon src="icons/person_wig.png" width="16" height="16"/>
<content src="content/stg/widgets/demographics.js" type="text/javascript"/>
<content src="content/stg/widgets/designer/demographics.js" type="text/javascript" nls="stg/widgets/designer/demographics.js" mode="design"/>
<category>xcpPalette:Custom</category>
<configuration>
</configuration>
</widget>
Again I cannot see any error in the XML - the lack of properties is deliberate as I was thinking of adding some once the widget appears.
JAR file is attached.
However even though it imports without any error into the Application Model it does not appear within the interface designer in xCP, can anyone see a reason why? xCP Version is Build: 2.0.0070.5035)
Thanks in advance
Thanks in advance
Comments
-
Found it - just needed to restart xCP designer. That said now I find that the widget selection window on the right has vanished and cannot see how to get it back.
Any ideas gratefully received.
0 -
Try this to resolve the designer issue
1. Close designer
2. clear .m2 (do backup before it)
3 remove the contents under C:\Users\<<userid>>\AppData\Local\eclipse
4. launch the designer
5. Clear contents under C:\Users\<userid>\AppData\Roaming\Mozilla\eclipse
0 -
Hi Hari,
I tried your suggestion but I still don't see my custom widget appearing in the Libraries list.
Strangely enough it appears in the Custom widget palette.
I have checked the manifest file and have the correct xcp execution environment.
EMC-XCP-ExecutionEnvironment: com.emc.executionenvironment.xcp:2.1.4Attached is the custom widget JAR. Am I missing some information that is necessary for xCP Designer to function properly?
0 -
Was able to fix the issue by making the following changes to the manifest file:
- Changed the Bundle-Versionto have three digits.
Bundle-Version: 1.1.2
- Changed the JAR filename to contain the Bundle-Version number
JahanToolbox-1.1.2.jar
- Changed Bundle-SymbolicName to contain namespace (jbt)
Bundle-SymbolicName: jtb.JahanToolbox
0 - Changed the Bundle-Versionto have three digits.
-
I suspect you are using Windows 8. If this is the case then apply this Microsoft patch (http://www.microsoft.com/en-in/download/details.aspx?id=14632), and reopen the page in Designer.
The reason the layout tab is blank is because Windows 8 does not have the libraries required to run applications compiled with Visual C++ 2010 x64.
0 -
You have the xCP release notes and deployment guide that can be downloaded from the support site, and then Designer has it's own inline help instead of an xCP Designer manual.
Can I double check though that if you create a second app and open that Master page up, do you see the widget palette?
In any case, when you open the bad app can you get the xCP Designer log file and attach it to a post here.
0 -
I have Tested the 2.2 designer in Win Server 2012 (64 bit )there widgets are visible & also eclipse folder is created
But in Win Server 2008 and win 7 (64 bit )... the widgets are not visible
so finally its OS issue .... , so do i need to apply any Patch or Something .... for Win 7 and Win Server 2008 ????
0 -
OHH .... AT LAST GOT SOLUTION ...
thnks all for your help
Apply Patch Download Microsoft Visual C++ 2010 Redistributable Package (x64) from Official Microsoft Download Center
then Start Designer
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories