xpages

XPages: Embed PDF and possibly Office files

倾然丶 夕夏残阳落幕 提交于 2020-02-07 07:58:29
问题 I need to embed PDF files in an xpage application. We are using IE11 x64 and this cannot be changed. Eventually, I'll also need to embed MS Office files (Word, Excel, Power Point). I have looked at a lot of pages and couldn't get a working solution for this... I have some code that works if I force IE11 in IE10 mode, but then Dojo starts acting weird (cannot close dialog boxes, ...). The code I have right now in my computed field looks like this: var id:string = pageDocument.getDocument()

Xpages SSJS Create Administration Process

牧云@^-^@ 提交于 2020-02-07 05:44:05
问题 Has anyone been able to get SSJS CreateAdministrationProcess to work? I have searched for functioning code but was not able to find any. I am trying to create an adminP request in SSJS to set a users password. I can't use the ?changepassword in the url method because we do not allow web users access to the NAB. I am using OAUTH and when I try to hash and update the password directly to the NAB it without an adminp request, it creates problems with the current client session, logging them out

Xpages SSJS How to display an array?

蹲街弑〆低调 提交于 2020-02-03 10:27:48
问题 I have been learning Xpages programming. We are currently using domino 8.5.2. I am gaining familiarity with the display/input controls and I have had some success using them to display information from backend domino documents, views, scoped variables that are not an array. What I have not been able to discover is how to display the elements of a scoped variable array that is created dynamically. For instance: I create an array with a number of elements. I can print the elements to the domino

Xpages SSJS How to display an array?

坚强是说给别人听的谎言 提交于 2020-02-03 10:24:40
问题 I have been learning Xpages programming. We are currently using domino 8.5.2. I am gaining familiarity with the display/input controls and I have had some success using them to display information from backend domino documents, views, scoped variables that are not an array. What I have not been able to discover is how to display the elements of a scoped variable array that is created dynamically. For instance: I create an array with a number of elements. I can print the elements to the domino

Dynamic Content Control in Extlib flips out after rebuild

和自甴很熟 提交于 2020-01-25 20:20:14
问题 I have an issue with the dynamic content control in ExtLib. Every time I compile my xpage the dynamic content control flips out if I do not reload the page. I need a way to control this, like an onerror event on the control. this is wahat's happening I open my webpage, the dynamic content control works fine I do some changes to my xpages and build (webpage still open) I click a link on my webpage to reload the content in the dynamic content control. the webpage flips out and starts to reload

xpages : Filtering a View Data Source using the keys parameter(filter by category name)

半世苍凉 提交于 2020-01-25 16:23:20
问题 I have an XPage linked to one of our databases which displays an history view of documents in this database. This view is categorized in the Notes client. I need to filter this data view by a value selected from a ComboBox, so I have limited the data to a single category by adding a parameter categoryFilter :" filter by category name". The problem is that the display of the filtered view takes a lot of times then it appears to me a time error message. N.B: The history view is very voluminous.

xpages : Filtering a View Data Source using the keys parameter(filter by category name)

拜拜、爱过 提交于 2020-01-25 16:20:35
问题 I have an XPage linked to one of our databases which displays an history view of documents in this database. This view is categorized in the Notes client. I need to filter this data view by a value selected from a ComboBox, so I have limited the data to a single category by adding a parameter categoryFilter :" filter by category name". The problem is that the display of the filtered view takes a lot of times then it appears to me a time error message. N.B: The history view is very voluminous.

XPages getComponent() doesn't work correctly

╄→гoц情女王★ 提交于 2020-01-24 12:21:10
问题 I have an XPage which uses JQuery dialog and client-side validation to validate the input the user processes. The problem is that when I click Add button client-side validation works, but properties from those fields 'cannot ' be found on server side. When the user clicks 'Open dialog' button the dialog shows up and Here's my button where the magic happens(only one property, just for example): <xp:button id="save_part_btn" value="+Add" style="float:right;"> <xp:eventHandler event="onclick"

XPages getComponent() doesn't work correctly

一笑奈何 提交于 2020-01-24 12:21:07
问题 I have an XPage which uses JQuery dialog and client-side validation to validate the input the user processes. The problem is that when I click Add button client-side validation works, but properties from those fields 'cannot ' be found on server side. When the user clicks 'Open dialog' button the dialog shows up and Here's my button where the magic happens(only one property, just for example): <xp:button id="save_part_btn" value="+Add" style="float:right;"> <xp:eventHandler event="onclick"

Convert embedded pictures in database

时光怂恿深爱的人放手 提交于 2020-01-22 15:38:07
问题 I have a 'small' problem. In a database documents contain a richtextfield. The richtextfield contains a profile picture of a certain contact. The problem is that this content is not saved as mime and therefore I can not calculate the url of the image. I'm using a pojo to retrieve data from the person profile and use this in my xpage control to display its contents. I need to build a convert agent which takes the content of the richtextitem and converts it to mime to be able to calculate the