Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
TagUI & tagging large # of files
JoeS
We're using the TagUI in TS 7.3.1 and we've added a second tab to our TagUI form with some addtional fields. However when users now try to multi-tag files (100+), there is signifcant slow down in server performance.
It appears to be the select fields with inline commands that are slowing down the datacapture from loading. Is there any way to improve the load time of these fields? Thanks.
[PHP]
[/PHP]
Find more posts tagged with
Comments
nipper
Never tried anything like that but I assume it is running your script 100's of times, change it to hard coded options and see if the performance improves.
Verify that the issue is your script, then you have two choices, either make your script significantly faster or make it load once (maybe load the data once and use FormAPI to populate the select lists)
Rick Poulin
(maybe load the data once and use FormAPI to populate the select lists)
FormAPI only has a single-item context though, so you probably can't use that to set the field on multiple items. I'd suggest some form of caching, so you only execute your (database?) query once and then reuse the cached data for all other calls within the same session (or longer) -- assuming your callout isn't dependent on the item context passed to it. If you rewrite this as a Java Datasource, doing this kind of caching would be very easy and more efficient than anything you do in perl (which no doubt would require some form of filesystem I/O).
JoeS
Thanks to both of you. This has pointed me in the right direction. I'll update this post once I find a solution.
Tim__D
I just went through this.
What I found on my environment is that multi-tagUI actually does a better job rendering options when using inline than it does static options. I did see an increase in performance when reformatting the static options into one line of text with no tabs or spaces between options. See my post
TagUI - Lots of select item options = horrific performance
However, this assumes one use of the inline for your ruleset. If you have the same inline in multiple placed or in multiple rule-sets you may find yourself seeking callServer for help and thats a whole other set of challenges in the multi-tag ui.
Good luck,
Tim
(Topic_40486)OS_BIRT_2.6.2_PreviousYear.rptdesign