Cireson Partners, Customers and Community members share your customizations and examples here to help benefit the community as a whole to earn Kudos and badges.
DISCLAIMER
All files and projects located here are provided and come "as-is" and without any warranty or support. Use at your own risk. Your use of Community Uploads is subject to our Terms of Use.
Cireson does not and will not support or maintain these enhancements, extensions, and scripts.
For Team Cireson uploads click here.
Comments
from:
to:
assuming you are using the latest version I recently uploaded.
Another way to solve it would be to introduce a new icon as @Tom_Hendricks did:
https://community.cireson.com/discussion/comment/9526/#Comment_9526
I set a breakpoint on 618 for the escapeHTML function and sure enough the "unsafe_str" variable passed in is null. This said, it isn't clear to me why this is even engaging in the first place and no less before Martin's function of GetEntryHTML.
We have it working nicely with the eye icon
In the v03. this code block will make it happen
Aprox from line 74
Could you please check if the 'Description' property returned from the '/api/V3/Projection/GetProjection?id=PRxxx&typeProjectionId=AA6D17AC-0ED8-5D86-D862-CFF4CD8792FA' api call is null or an empty string in your browser dev tools?
Never the less there should be a failsafe that checks whether a comment is null.
I have just tried v3 in our development environment and I get the following error, in the Chrome console log, when I hover on a work item
GET http://s16-vm-app-t124/api/V3/Projection/GetProjection?id=R2014145 404 (Not Found)
The details from the license settings screen are as follows
Current Portal Version: 7.3.2012.1
To:
This ensures that it is only added to grids that are not part of kendo calendar controls. It is entirely possible that further refinements will be needed here, but this seems to have done the trick. I also invite feedback if there is a more elegant way of accomplishing this, of course.
I finally found the problem why this did not work with me (with some help).
The problem was here:
This is just FYI if someone else has the same problem.
I have a trouble in this function:
Error:
But if I try from server, script work fine.
Please help resolve this issue.
Martin,
Verry usefull feature.. It works right out of the box, only have to rename the extensions. Maybe in a next release parameterise this in the first section of the file.
Thanks and keep up the good work!
@Vladimir_Budyak, The http request url seems correct. What do you mean by "try from server"?
originally started and then @Jeff_Lang wrapped up via his thread
Can anyone help me how to get this work with 2 languages? We are using
our portal in English and Finnish.
Thank you very much,
- Mika
I think this used to work, but in 8.11 we now have the id and icon on two lines regales of collum with
Haven't testet it for 8.11 but changed it to this at upgrade for 8.9.5
We are on Current Portal Version: 9.3.8 . Is this still working with latest versions?
It's still working for us on 9.3.9.2016.
Thank you for this! Works like a charm for IRs, but for SRs the following is logged in the browser console:
VM13441:232 Uncaught TypeError: Cannot read property 'Name' of undefined
at createWorkItemPreviewHtml (<anonymous>:232:74)
at Object.success (<anonymous>:115:43)
at u (jquery.min.js?v=9310:2)
at Object.fireWith [as resolveWith] (jquery.min.js?v=9310:2)
at k (jquery.min.js?v=9310:2)
at XMLHttpRequest.<anonymous> (jquery.min.js?v=9310:2)
Does anyone have any ideas please?
@Martin_Blomgren
This was broken in the latest version of the portal due to changes made to the grid with the new Teams Integration, I made some changes to get this working, you are more than welcome to review:
I changed:
kendoGridElement.bind("dataBound", AddEventHandlers);
TO:
app.events.subscribe('gridBound', function(){
AddEventHandlers();
});
If anyone in the Community using this solution could test and confirm if this fixes the issue and/or breaks any other functionality that would be great.
Thanks,
Shane
had some issues with this one when upgrading to 11.6, here is one that works
have also added variables at the top for extra settings
ColumnNameToUse - sets the Column name to use to hover the mouse for a preview, or to add an icon for hovering over
usePreviewicon - when set to true it adds an "eye" icon to the column stated in the variable above, and only hovering over the eye shows the preview
*edited to fix a typo