Zhi Yong Yin commented on Oct 12, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi Raf,

Congratulations! Hope you can enjoy it :) Any problem please let me know!

Mike

Zhi Yong Yin commented on Oct 12, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi Thierry,

I'm glad to hear that the Tag function works fine in your environment. Thanks for giving so high evaluation to my article, our product architect has some concerns on this solution, so making it as a customization solution is also a good choice.

To update the upload dialog for a single place, you can add code in the function - _getDialogContent in modalPageDialog.js, the key is which xsl file will be loaded, I give an example for you, I did not test it, you can try it by yourself.

var xsl;

if (this.xslSource.length == 0) {

if (this._xsl != "defaultUpload_create.xsl" && this._xsl != "defaultUpload_edit.xsl") {

xsl = "/qphtml/widgets/page/" + this._xsl;

} else {

if (placename == "xxx") {

xsl = this.getWidgetLocation() + "/" + this._xsl;

} else {

xsl = "/qphtml/widgets/page/" + this._xsl;

}

}

} else {

if (placename == "xxx") {

xsl = this.xslSource;

} else {

xsl = "/qphtml/widgets/page/" + this._xsl;

}

}

I'm sorry that the mail sent to you was returned by the mail system

Hope this can help you! Have a nice day!

Mike

Ralf X Engelmann commented on Oct 12, 2011

Fixed: (undefined) is shown instead of document titles

Hello Thierry and Mike,

I was able to fix the problem. I just wasn't aware that the programmatic names are case sensitive. I had "$h_title" instead of "$h_Title".

Now the tags are working as expected and I'm a happy camper! :-)

Thank you for your support,

Ralf

Thierry G Grandjean commented on Oct 12, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi,

Wonderful !!

I managed to have it working !! My issue came from the Programmatic Name!

Thanks a lot !

@ Ralf : I think it's the same issue for you : check the programmatic Name of the column title of the view ! I get undefined also at the beginning.

Zhi Yong Yin commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi Ralf,

You are very close to success, I think one configuration may cause your problem, please check "Programmatic Name" setting of h_Title column in DocsByTag view, I doubt it's not correct, it should be "$h_Title".

Hope this can help you, any problem please let me know!

Mike

Zhi Yong Yin commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi Thierry,

This solution should work for Quickr 8.5.1 with any FP, the problem you met should be a configuration problem which you may ignore, please use Firefox to operate the Tag function and use FireBug to debug the javascript function - showTags which is in quickrTag.js, and showDocsByTag which is in docsList.js, I think it's not difficult to find out the reason why there is no data. Please try again first, if it's still failed, you can send me a mail to tell me more details of your configuration, or send me some screen snapshots, so that I can help you to locate this problem.

My email: yinzhiy@cn.ibm.com

Mike

Thierry G Grandjean commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

For info my server is running Quickr 8.5.1 FP8, I don't think it's an issue because this article is older than FP8

@ Ralf : than on your side the widget is showing tags ?

Thierry G Grandjean commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

For info my server is running Quickr 8.5.1 FP8, I don't think it's an issue because this article is older than FP8

@ Ralf : than on your side the widget is showing tags ?

Ralf X Engelmann commented on Oct 11, 2011

(undefined) is shown instead of document titles

Hello,

generally the modifications work on our Quickr server (Quickr 8.5.1 FP9). However, after clicking a tag the documents are not listed with their titles but as (underfined). It doesn't matter which web browser i use.

I double and triple checked the new Notes views and couldn't fins an error. In Lotus Notes the documents are listed with their correct titles in the views.

What could cause this phenomenon?

Regards,

Ralf

Thierry G Grandjean commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Trying the 2 following http request :

http://host/LotusQuickr/placename/Main.nsf/h_Tags/?ReadViewEntries

http://host/LotusQuickr/placename/Main.nsf/h_DocsByTag/?ReadViewEntries

I get a response ( xml file ) containing data wihout errors .....

Thierry G Grandjean commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Thanks for your reply.

I think I followed correctly your procedure but I will check again.

The Lotus Notes views have been created correctly, If I open them with my Lotus Notes client I can found

the tags I entered. I will make the test you mentionned concerning the HTTP request.

If I want to make this modification just for one specific place : Where is located the modalPageDialog.js you mentionned ?

Very goog article Thanks !!!

I do not understand why this kind of function is not by defauft in the standard place !!!!

Mike Yin commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi Thierry,

1. Please make sure each step is correct without any problem, and then check if those 2 views are created correctly, especially the parameter "Programmatic Name"? Please check if any javascript error occurs when you open the page? Please use any HTTP trace tool (such as FireBug) to check if the following HTTP requests are sent out correctly, and if the reponse is empty?

http://host/LotusQuickr/placename/Main.nsf/h_Tags/?ReadViewEntries

http://host/LotusQuickr/placename/Main.nsf/h_DocsByTag/?ReadViewEntries

2. Just like what you said, after replacing the modalPageDialog with the one I offered, the upload form in all places will be replaced. If you want to make the change in a specific place only, you can add code in modalPageDialog.js to do that.

Hope this can help you, any problem please let me know!

Mike

Mike Yin commented on Oct 11, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi Brian,

I'm the author of this article. if you want to apply the tag function to existing Quickr places, you should follow whole steps in the article to create views and forms for each place, the Tag Form should be created from web UI, you can make its UNID with any value you want, the same or different are ok, but the documents created from the Tag Form should use the same UNID, because this UNID will be hard-coded into Quickr_ext.js, which will be used in quickrTag.js, when user clicks any tag in the Tag section on the web page, this document will be opened, so you must keep this UNID the same with other Quickr places.

To simplify this process for existing places, you do NOT need to create the Tag Form for every existing place from web UI, you can copy the document which is created from Tag Form from one place to all others.

Hope this can help you! Any problem please let me know!

Thierry G Grandjean commented on Oct 5, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

Hi,

2 problem following this procedure :

- After following the complete procedure, I can enter tags in my new field but the tag widget stay empty .... why ??

- Now the new tag filed appear on the upload form in all places of the server !!! why ??

Brian Wert commented on Sep 27, 2011

Re: Adding tags to IBM Lotus Quickr for Domino 8.5

This is great for adding to an individual quickr site and creating a place type and using it to create new sites but how do you make this a template or theme so you can update existing sites? I can do all the views in an existing site. My question is how do you create the form Tag Form in another quickr site and have it keep the same UNID? Is there a way to copy a quickr form from one site to another?