We're using XPages since a couple of years for 3 business applications we developped for a customer. CKEditor is playing a strategic role for one of the applications and we customized toolbar and skin. Since V10 of Domino we get a "mutlipleDefine" error as soon as we load an XPage with a CKEditor component. Even in a test app with only one XPage containing only a basic richttext item, no other external libraries, etc.
dojo.js:formatted:1317 Error: multipleDefine
at _f (dojo.js:formatted:47)
at _f9 (dojo.js:formatted:1074)
at def (dojo.js:formatted:1267)
at xspCKEditor-web-config.js:5
This error didn't have any impacts for the moment. But our customer now wants to add external plugins to the CKEditor and this doesn't work anymore. Same Database with extensions for CKEditor on a server V9 is working as a charm but not a server V10. The external plugins are stored in the WebContent Folder of the application. Any help is appreciated.
The error is known by HCL and tracked as PALTBNXPQ4. See this answer from Paul Albright who has created the problem report:
https://hclpnpsupport.hcltech.com/community?id=community_question&sys_id=2ae1909d1bc91050a67e9759bc4bcbb4&anchor=answer_651d98d91b8d1050a67e9759bc4bcbf2&view_source=searchResult
I see the same multipleDefine error and I am using external plugins too but I have no issues with external plugins.
Related
The current latest Joomla! v3.9.14 (August 2019)
The integrated tinymce is v4.5.11
Tinymce released the new V.5.0.0 in February 2019, including major improvements and a great new API
I want to use a plugin written with the new V5 API in Joomla!, so I wondered if it's possible to upgrade Tinymce to V5 in Joomla, or if we have no choice but to still use the old ugly Tinymce v4.x?
I tried to replace/edit files in media/editors/tinymce, just to see if it could lead to something, but of course it doesn't seem to be the right direction.
Rather than replacing the files (which could be overwritten in any future update), you're probably better off writing a new plugin for Joomla that installs Tiny 5.
The source code for the (v4) TinyMCE plugin is a good place to start to write your own - replicate how this plugin works, and you'll need to extend its functionality.
Doing it this way also means you could choose to use the Cloud version of Tiny, meaning you don't need to host the files locally, and receive updates as Tiny push them live. You do need a Tiny API key for this, but IMO, I feel it is a smarter way to host Tiny given that even during 5's life in 2019, some really useful features have been deployed, and if you're hosting all the files yourself, you'll need to keep updating them as you go.
The challenge with writing your own Tiny 5 Joomla plugin is that the core TinyMCE plugin for Joomla does not make it possible to have externally hosted Tiny plugins (such as a custom one you've created). So you would need to extend both the configuration and the instantiation to be able to store external plugin configuration, pull it in to Tiny's config, and also be able to manage your toolbars.
At Joomla Day Australia 2019 I spoke about developing external plugins for Tiny 5 in Joomla 4, and have a plugin that uses the cloud version of Tiny, and allows for external plugin configuration - but this was for an alpha version of Joomla 4.
Joomla 4 will come with Tiny 5, and I did a pull request to get external plugins in to the Editor config, so just waiting for Joomla 4 could be a more passive option.
I am trying to build my first application using angular 5 and .NET core 2; The application is created in visual studio 2017 as one empty website based on .Net core 2; I am using angular 5 for the client-side, and to maintain data-access, security, authorization ... I am creating Web API controllers using .Net core 2 which will be called from angular; What I still don't know is how to create reports which requirements are the below:
Reports are textual and they can contain sub-reports or images;
They should be created in server side as some of them should
be saved on the webserver
They should be exported as images or PDF files
They should be also displayed on HTML page whether they were saved or not on the webserver: so there should be a way to revert back to angular 5 and display those reports on the browser
Please note that I have no SQL Database but Oracle 11G, which I guess in this way I have to create a data-set and fill it, then this dataset will be used in the report.
Before, I used to create RDLC or crystal reports with all the above, and I could run new tab from server side to display my reports; But now things are more complicated and new... So any hint is more than appreciated.
I have a simple idea will fix your problem. If you want with Crystal reports or SSRS:
Generate a new Web Form project that uses Crystal Report Viewer.
The new project has only two pages: Index.aspx, Report.aspx.
Index.aspx will receive report id and additional parameters of the report.
Index.aspx will open Report.aspx after internal processing.
Once the page Report.aspx is viewed, user can view, navigate and print the report.
If you want to use SSRS, you'll replace Crystal report.
This solution will cost you nothing except hosting the Web Form project on a server.
Hope this solution fix your problem.
Al.
You need to say a lot more about your report requirements, otherwise it's hard to give a useful answer. You should mention:
technologies - (you've got some of this already) - Angular and .Net
formats - you've mentioned HTML and PDF/images (in your comment)
client-side/server-side - are you trying to generate
the reports fully client-side (you have the data already at the
client) or can you generate server side. Each aspect has
benefits and particularly server-side you have more options,
access to more of your data (typically), access to your report
storage, more installation/interfacing options and more
processing power.
document types - what styles of documents
are you trying to create. Textual reports, spreadsheet-style
calculations and charts etc.
any other requirements you can think of (security, connectivity, speed, pricing etc).
There are lots of reporting libraries/engines ranging from simple code-based design and build to template-based (mail-merging) styles.
I know that's not a specific answer, but I've written more about your options than you have written about your requirements. I hope it helps.
I Guess you are trying to create a reporting engine using angular 5 and .net from server side.
If your report is Pure HTML then it is easier. If it needs any graphs then you have to look for 3rd party libraries like Hicharts.
To render report as PDF you can use Angualar 5 server side rendering support (Universal). Also lots of opensource components are available to generate PDF from HML. so you can combine Universal and PDF renderer components and produce the PDF output
note: Hicharts supports serverside rendering
Also in agular 5 you can dynamically create object for components, so you can make report components are configurable and flexible
I just got started working on ASP.NET 5. I want to have a help page for my methods, I have seen few examples for creating help pages but most of them are MVC specific. I have gone through Microsoft.AspNet.WebApi.HelpPage package, it creates an Area for help page but I am not using MVC pattern.
Any suggestions how can I create help page other than this area approach?
I would suggest looking at Swagger and SwaggerUI. Swagger is an open standard, using JSON to document an API, used by the likes of PayPal and Microsoft (check out Logic apps in the azure portal).
There are some open source implementations for .Net (both of which I have used), which will self document your API, just by adding the NuGet packages to your project and a little bit of configuration:
https://github.com/domaindrivendev/Swashbuckle
https://github.com/domaindrivendev/Ahoy
Swashbuckle is the original project and Ahoy is the new version targeting ASPNET5. When downloading the package from NuGet you will still get Swashbuckle, just make sure you tick "include pre-release", and if you need any documentation look at the original GitHub project.
SwaggerUI (which is also included in Swashbuckle) adds an interface which you can use to navigate and test your API, by default this is available from "/swagger/ui" when your project is running.
Here is a sample repo in GitHub I put together showing how it can be used: https://github.com/mattridgway/ASPNET5-SwaggerUI
This is a continuation of a question I asked a few days ago regarding a designer connection for Domino OSGI dev and testing.
In eclipse, I do have the "debugging plug-in" installed (as mentioned by stwissel), and I am fairy certain that it is configured properly.
In a second attempt, I tried to export my plug-in in an update site.
1. import plug-in to feature
2. import feature to update site
3. build update site
I first tried to install using My Widgets in the notes sidebar. I did not get the thing to run with that so, then went into designer and installed it there directly, also nothing.
current stand
I built the update site and deployed using an nsf Update Site as a widget. I use this for openNTF Domino API, the ExtLibs -- it is comfortable and I like it.
I can verify that the feature is available in the application Management window of designer.
3 I expect to see those libraries in the xsp.properties page generation tab, but do not.
questions
1. Am I missing something?
2. Must I add some sort of class/code/flag in order to choose this library/plug-in in designer?
3. How can I best verify that the plug in and not just the feature is installed?
if your XspLibrary is not a 'global' one you probably won't see the activator run until the first nsf that uses it activates it.
seeing as you can't select it in an nsf this is probably why no nsf is ever activating it
can I ask have you correctly defined the library as an extension of com.ibm.commons.Extensions
as type
com.ibm.xsp.Library
if you don't define the extension you will not see it in the list of libraries.
also you must make sure you set the plugin settings to export the XspLibrary class (or package of the class) otherwise designer can't use the class
see this article on the domino designer wiki for an overview of necessary steps to correctly set up the XspLibrary plugin. the manifest.mf / plugin.xml settings are important.
another thing to double check, is to inspect the actual built plugin jar, using something like 7zip. you can open it up like a zip and have a look to make sure the .class files are actually included in the jar. if your build settings are incorrect it may not include them in the jar properly. also make sure the manifest.mf and plugin.xml are in there properly
EDIT from Greg
This should be the link for a non-mobile user
When you setup the debug plugin, it should create an entry in the workspace directory of the Notes client and Domino server (I think down in the RCP directory). This entry points back to the Eclipse workspace. So you don't need to deploy the plug-in. You also should see a warning when loading Notes ( with rparams -console) or Domino on the console about the debug.
Also what I found: auto deployment via Widget works when the update site sits on a server via http or nrpc. It doesn't when it is specified as file:/// so I run a Apache http on local (I need it for other stuff too, so no big deal for me).
I'll check the exact settings when I get back to my Dev workstation
You can identify if a plugin is installed via Help > About IBM Domino Designer, then clicking on the Plug-in Details button in the dialog.
Help > Support > View Log and View Trace should give more details. Trace is more detailed and allows you to write content, as we do for the OpenNTF Domino API. It may allow you to see how far through the code it's going.
That first message is in the XspLibrary class, in the constructor, just using a sysout
/**
* Constructor
*/
public XspLibrary() {
System.out.println("Loading org.openntf.domino.xsp library");
}
Hopefully that should help you see where it's failing.
I am very new in developing a plugin for Oracle Enterprise manager. I have setup my work environment(installed Adobe Flex builder,Extensibility Development Kit(Edk) and all). I have also succesfully deployed a sample plugin to OEM grid control. Now I have a few queries which can be solved by someone who already done plugins in OEM(Hope SE contains some). I have posted in oracle's forum,but getting no response. Here are my queries:
1) Is it possible to add the Sample plugin created also to be listed when selecting the targets from Enterprise>Monitoring>Logs? If yes, how can I do that.
2) Also, in that case can I add a custom UI instead of showing logs in table.
Thanks in advance!!
For those who came across the same problem and get here through google,
please go to https://forums.oracle.com/forums/thread.jspa?threadID=2481432&tstart=15 for details.