Verity - How to sort results?
How can one sort a set of data returned by CFSEARCH?
I'm using CF7.
Thank you!
quote:
Originally posted by:
therearentanyleft
I appreciate your comment and will certainly answer questions
when I know a solution. Thanks for your response. Can you help me
understand what you mean by "Try query of queries"?
Only to a limited degree because I've never used
<cfsearch>
Macromedia book Developing Cold Fusion MX Applications has an
example on page 460. The name attribute of your cfsearch tag
becomes the table name in your cfquery tag. The example alludes to
a field called score, but I don't know where that came from.
Similar Messages
-
How to sort web app items based on few fields of it on search result page?
I have a web app and its search. The search results are on multiple pages means it has pagination. My client's requirement is to have a feature which will sort results based on some web app items. for example we have a field price so when user select the price it needs to sort from high to low. Any one have idea how to do it?
I have just been playing around with this for something else, all you need to do is duplicate your price field into the weighting field and it will automatically sort from High to low for you.
Cheers
Duncan -
With a Custom Search portlet how to Sort the Result By Sequence. i.e. by respecting arrangements of the items in the page of contents?
Actually the Results Options "Order By" are : Create Date, Author, Creator, Date Updated, Display Name, Last Update by, Publish Date, Score.
Is there an action to add the "Sequence" Order By result Option?
Great thanks for your kind help.
Best regardsNo, I agree that it is functionality that should be added to the product, but it
is not a bug because it was not written to do this.
It is a short coming of the product.
Cheers,
Ersan -
Customer request: With a Custom Search portlet how to Sort the Result By Sequence. i.e. by respecting arrangements of the items in the page of contents?
(Like it's possible in MyOracle)
Actually the Results Options "Order By" are : Create Date, Author, Creator, Date Updated, Display Name, Last Update by, Publish Date, Score.
Is there an action to add the "Sequence" Order By result Option?
Great thanks for your kind help.
Best regardsNo, I agree that it is functionality that should be added to the product, but it
is not a bug because it was not written to do this.
It is a short coming of the product.
Cheers,
Ersan -
How to sort the data in JSP using stylesheet sorting?
Hi, i extracted data out in and display them <%=data%> in the jsp, but how to sort? do i have to provide a drop down list that gives different sorting options, and when user clicks on one option, say sort by title, the collection of results are sorted out on the same jsp page? so all in all, only one jsp page is needed or do i need to create xml files, etc?
i have no idea how to integrate the xml sorting into the jsp page, even after seeing online help, cos there is no example of a jsp page with sorting to refer to. PLease help, thanks alot!im getting the data from beans, but one of the requirements was that i cant use the database to sort and display but i have to use xslt to do the sorting in the jsps, so i have no idea how to do so. possible to give an example? thanks
-
my 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort ... ran CleanMyMac and freed up about 30GB of space but didn't help ... ran AdwareMedic so that's been sorted but the other issues that came up on the EtreCheck I need help with however i can't figure out how to paste the results on this page
thanks thomas ... here it comes
EtreCheck version: 2.1.5 (108)
Report generated December 29, 2014 at 5:03:07 PM GMT
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (17-inch, Early 2009) (Verified)
MacBook Pro - model: MacBookPro5,2
1 2.66 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1067 MHz ok
BANK 1/DIMM0
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 9400M - VRAM: 256 MB
Color LCD 1920 x 1200
NVIDIA GeForce 9600M GT - VRAM: 512 MB
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: 0:5:36
Disk Information: ℹ️
FUJITSU MHZ2320BH FFS G1 disk0 : (320.07 GB)
EFI (disk0s1) <not mounted> : 210 MB
[redacted]'s world too (disk0s2) / : 319.21 GB (30.39 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
MATSHITADVD-R UJ-868
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Inc. iPhone
Logitech USB Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple, Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Configuration files: ℹ️
/etc/hosts - Count: 29 - Corrupt!
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Library/Application Support/Roxio
[not loaded] com.roxio.TDIXController (1.7) [Support]
/System/Library/Extensions
[not loaded] com.kensington.mouseworks.iokit.KensingtonMouseDriver (3.0) [Support]
/System/Library/Extensions/KensingtonMouseDriver.kext/Contents/PlugIns
[not loaded] com.kensington.mouseworks.driver.ADBID32Mouse (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.ADBID32MouseX1 (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.ADBID4Mouse (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.ADBID4MouseX1 (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.KMWBluetoothHIDMouse (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.KMWBluetoothOldHIDMouse (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.KMWUSBHIDMouse (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.USBMouseX1 (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.VirtualMouse (3.0) [Support]
[not loaded] com.kensington.mouseworks.driver.VirtualMouseX1 (3.0) [Support]
[not loaded] com.kensington.mouseworks.iokit.KensingtonMouseDriverX1 (3.0) [Support]
Startup Items: ℹ️
AdobeVersionCueCS2: Path: /Library/StartupItems/AdobeVersionCueCS2
Firewall: Path: /Library/StartupItems/Firewall
RetroRun: Path: /Library/StartupItems/RetroRun
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.adobe.CS4ServiceManager.plist [Support]
[loaded] com.adobe.CS5ServiceManager.plist [Support]
[invalid?] com.oracle.java.Java-Updater.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[invalid?] com.adobe.SwitchBoard.plist [Support]
[loaded] com.adobe.versioncueCS3.plist [Support]
[loaded] com.adobe.versioncueCS4.plist [Support]
[running] com.atomicbird.macaroni.launchd.plist [Support]
[loaded] com.macpaw.CleanMyMac2.Agent.plist [Support]
[invalid?] com.oracle.java.Helper-Tool.plist [Support]
[loaded] com.prosofteng.DriveGenius.locum.plist [Support]
[loaded] com.skype.skypeinstaller.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.adobe.ARM.[...].plist [Support]
[loaded] com.adobe.ARM.[...].plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
[running] com.prosofteng.DGMonitor.plist [Support]
[running] ws.agile.1PasswordAgent.plist [Support]
User Login Items: ℹ️
CNQL1210_ButtonManager ApplicationHidden (/Library/CFMSupport/CNQL1210_ButtonManager.app)
System Events ApplicationHidden (/System/Library/CoreServices/System Events.app)
Mail Application (/Applications/Mail.app)
Firefox Application (/Applications/Firefox.app)
AdobeResourceSynchronizer ApplicationHidden (/Applications/Adobe Reader 9/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
Calendar Application (/Applications/Calendar.app)
Skype Application (/Applications/Skype.app)
Dropbox Application (/Applications/Dropbox.app)
AdobeResourceSynchronizer ApplicationHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
MouseWorks Background Application (/Library/Application Support/Kensington/MouseWorks.prefPane/Contents/Resources/Support/MouseWorks Background.app)
Internet Plug-ins: ℹ️
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
EPPEX Plugin: Version: 3.0.0.0 [Support]
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
ContentUploaderPlugin: Version: 1.2 [Support]
iPhotoPhotocast: Version: 7.0
RealPlayer Plugin: Version: Unknown [Support]
PDEPrint: Version: 2.0 [Support]
DirectorShockwave: Version: 11.5.2r602 [Support]
PDF Browser Plugin: Version: 2.4.2 - SDK 10.2 [Support]
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
QuickTime Plugin: Version: 7.7.3
CANONiMAGEGATEWAYDL: Version: 3.0.0.2 [Support]
DivXBrowserPlugin: Version: 1.3 [Support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
Google Earth Web Plug-in: Version: 6.0 [Support]
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 [Support]
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
User internet Plug-ins: ℹ️
QuickTime Plugin: Version: 6.5.1
fbplugin_1_0_0: Version: Unknown [Support]
Safari Extensions: ℹ️
Ultimate [Installed]
3rd Party Preference Panes: ℹ️
ASM [Support]
DivX [Support]
Flash Player [Support]
Flip4Mac WMV [Support]
Macaroni [Support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Destinations:
G-DRIVE Mini [Local]
Total size: 999.86 GB
Total number of backups: 7
Oldest backup: 2014-07-09 00:13:07 +0000
Last backup: 2014-12-10 22:18:57 +0000
Size of backup disk: Excellent
Backup size 999.86 GB > (Disk size 0 B X 3)
Top Processes by CPU: ℹ️
6% WindowServer
3% firefox
1% mds_stores
0% mdworker
0% Skype
Top Processes by Memory: ℹ️
348 MB firefox
137 MB Skype
122 MB mds_stores
120 MB com.apple.IconServicesAgent
73 MB Dropbox
Virtual Memory Information: ℹ️
1.26 GB Free RAM
1.74 GB Active RAM
477 MB Inactive RAM
543 MB Wired RAM
503 MB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Dec 29, 2014, 04:58:09 PM Self test - passed
Dec 29, 2014, 10:58:04 AM /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105804_[redacted].hang
Dec 29, 2014, 10:54:33 AM /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105433_[redacted].hang
Dec 29, 2014, 10:52:33 AM /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105233_[redacted].hang
Dec 29, 2014, 10:50:24 AM /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105024_[redacted].hang
Dec 29, 2014, 10:50:24 AM /Library/Logs/DiagnosticReports/Skype_2014-12-29-105024_[redacted].hang -
How to Sort Dimension in Pivot Table via Order Column which is changing like Factual values
Hi,
Recently in of our product offerings we got stuck on this following question:
How to Sort Dimension based on the Order Value which Keeps Changing with Factual Values??
We have a data source laid out as (example)
In the above the “Order” columns are changing per
Company/(DimensionA) for DimesnsionB.
Instead what we want is: (But only if we can get the following result without putting the “Order” Column in the “Values” Section.
If there are any configurations that we can make to our power pivot model for the similar data set so that the
DimesnionB in this case can be sorted by the Order column, would be greatly helpful to us.
Sample File:
http://tms.managility.com.au/query_example.xlsx
Thanks
AmolHi Amol,
According to your description, you need to sort dimension members in Pivot Table via order column, and you don't want the order column show on the Pivot table, right?
Based on my research, we can sort the data on the Pivot table based on one of the columns in that table, and we cannot sort the data based on the columns that not existed on the Pivot table. So in your scenario, to achieve your requirement, you can
add the column to pivot table and hide it.
https://support.office.com/en-gb/article/Sort-data-in-a-PivotTable-or-a-PivotChart-report-49efc50a-c8d9-4d34-a254-632794ff1e6e
Regards,
Charlie Liao
TechNet Community Support -
How to sort a collection by two componets/Attributes
Hello All,
Scenario:
I have a result table view with columns Contact Person Number, Central Block flag and Last name. At the instance of BP confirmation in IC this result table(result view displays the contact persons associated with the account id during the BP cofirmation) is filled in a sorted order based on the Contact Person Number.
Requirement:
Sort the result table by Central block flag followed by Contact Last Name.Hence how to sort the collection of the result table view based on two attributes Central Block and Last Name?
Looking forward for your support.
Regards,
Harish P MHello Harish,
Good question. The framework doesn't seem to support this. When i needed this functionality, i had to create my own implementation of collection. You can inherit from CL_CRM_BOL_ENTITY_COL and overwrite several methods which do the sorting. Check the class CL_CRM_IPM_RAA_BOL_COL.
Best Regards,
Yevgen -
Using search in contacts: how to list results
When searching in contacts with ICloud displayed on my PC in Chrome, at times the results list in the left pane, at other times they do not. The number of hits appears in the upper right of left pane. However, if no list appears in left pane, there appears to be no control that causes the list to appear - even if a number appears to confirm some results apply. Any thoughts on how to make results consistently display?
The iphone is ment for music and your 10 best buds phone numbers.
NOT A PDA...
Pretty lame only sort option is first firts or last first who need that.
I have 1000 contacts for work I had to delete all the names to get the company names to show its LAME APPLE... -
How to sort files and folders like Windows
I don't know if this is specific to Arch or every other Linux distro but one thing that really bugs me in Arch is how files and folders are sorted. I use Windows as my main OS (don't start on that please) and I have one folder properly organized exactly as I want it and I like it how Windows sorts this. I access that same folder from my Arch installation, the problem is that the sorting is different and it gets on my nerves lol...
This is how Windows sorts that specific folder:
C:\Users\Nazgulled\Documents\University>dir /O
Volume in drive C is Vista
Volume Serial Number is F84E-02BE
Directory of C:\Users\Nazgulled\Documents\University
05-08-2009 15:34 <DIR> .
05-08-2009 15:34 <DIR> ..
05-08-2009 11:10 <DIR> [Archives]
05-08-2009 14:38 <DIR> [Developers]
05-08-2009 11:17 <DIR> [X] 1) Cálculo II
05-08-2009 11:18 <DIR> [X] 2) Análise de Custos
05-08-2009 11:18 <DIR> [X] 2) Cálculo de Programas
05-08-2009 11:18 <DIR> [X] 2) Laboratórios de Informática III
05-08-2009 11:18 <DIR> 2) Algoritmos e Complexidade
05-08-2009 11:18 <DIR> 2) Arquitectura de Computadores
05-08-2009 11:18 <DIR> 2) Comunicaçao de Dados
05-08-2009 11:18 <DIR> 2) Engenharia Económica
05-08-2009 11:18 <DIR> 2) Estatística Aplicada
0 File(s) 0 bytes
13 Dir(s) 24.700.485.632 bytes free
And this is how Arch does it:
nazgulled ~/University $ ls -l
total 7
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Algoritmos e Complexidade
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Arquitectura de Computadores
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Comunicação de Dados
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Engenharia Económica
drwxr-xr-x 1 nazgulled nazgulled 8192 2009-08-05 11:18 2) Estatística Aplicada
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:10 [Archives]
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 14:38 [Developers]
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:17 [X] 1) Cálculo II
drwxr-xr-x 1 nazgulled nazgulled 12288 2009-08-05 11:18 [X] 2) Análise de Custos
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Cálculo de Programas
drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Laboratórios de Informática III
How can I get Arch/Linux to sort exactly the same as Windows?
Last edited by Nazgulled (2009-08-05 14:41:47)toad wrote:
Nazgulled wrote:Surely there must be a way to have the same sorting collation in Linux like in Windows
Ah, no. The way they are doing it is nonsensical and not good practice for a unix style system. Having said that, some solutions have already been offered in this thread.
While you are free to continue to ask others to help you achieve your aims, it may be more convenient for you to adapt to a structure that is displayed the same way under all systems (just to avoid frustration - not saying you _should_ do it ).
I really don't care if it's nonsensical, I use Windows 95% of the time or more, it's my main OS, I'm used to it and I like it. Why should I care if it's not a good practice for a unix style system? I just want things to behave the way I like and for a free system like Linux where it doesn't even compare to Windows in terms of freedom in what I can do with it and configure the way I like, it sure is hard to change the way folders/files are sorted...
It sucks that there isn't a proper solution but I'm not going to adapt anything, that would be nonsensical... But if I have to, I can live with the fact that there isn't a good solution and leave it as it is
Thanks everyone for their input, "topic closed". -
How to sort file which is created in background......
Hi All,
I have executed ALV report in background and it is generated, But after generating the report comes in ALV LIST display. how to sort field of ALV List which is generated in background ?
YusufSolved
-
How to compare result from sql query with data writen in html input tag?
how to compare result
from sql query with data
writen in html input tag?
I need to compare
user and password in html form
with all user and password in database
how to do this?
or put the resulr from sql query
in array
please help me?Hi dejani
first get the user name and password enter by the user
using
String sUsername=request.getParameter("name of the textfield");
String sPassword=request.getParameter("name of the textfield");
after executeQuery() statement
int exist=0;
while(rs.next())
String sUserId= rs.getString("username");
String sPass_wd= rs.getString("password");
if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
exist=1;
if(exist==1)
out.println("user exist");
else
out.println("not exist"); -
How to display results set of multiple reports into a single report table
Our goal is to create a single report (or dashboard) that shows the "funnel" of object creations related to each campaign. The flow goes from Activity to Lead to Opportunity as well as multiple steps within each (ie. Unqualified Lead -> Qualified Lead, etc).
We currently have 3 separate reports in three different subject areas, each reporting the different metrics and we would like to combine the output into a single Unified report.
For example what we currently have is:
Activities:
Campaign Name # of Activities
Campaign A 12
Campaign B 26
Leads:
Campaign Name # of Leads # of Qualified Leads
Campaign A 10 4
Campaign B 20 18
Opportunities:
Campaign Name # of Opportunities # of Opps per Sales Stage ... # of Wins Closed Revenue
Campaign A 3 2 1 $1,000.00
Campaign B 10 8 3 $2,800.00
What we want to see is:
Combined:
Campaign Name - Campaign Cost - # of Activities - # of Leads - # of Qualified Leads - # of Opportunities - # of Opps per Sales Stage - # of Wins - Closed Revenue
Campaign A - $423.00 - 12 - 10 - 4 - 3 - 2 - 1 - $1,000.00
Campaign B - $ 1,000.00 - 26 - 20 - 18 - 10 - 8 - 3 - $2,800.00
We have tried using the "Combine with similar analysis" but the number of columns for each subject area differ. We also tried creating multiple UNION criteria (one for each column), but in the case of # of Opps per Sales Stage and Closed Revenue, those are not "Metrics" fields, so they won't combine.Hi, You may have to create some dummy fields to equate the no. of field in each of the report matching the data type too and get a one single report using combined analytics and then using the resultant data you can create a simple pivot like below. Haven't tried it before
-- Venky CRMIT
Hi Venky,
I am facing the same problem. Can you please say Steps how to create resultant data and Combine in pivot Table .
Please Help me .
Thanks in Advance .
My mail id is :
[email protected] -
Some calendars in iCal appear corrupted (ie have red exclamation mark by them) but are still OK on iPhone. If I sync, will the calendar data on the phone restore info on the desktop iCal or will I lose that as well? Or could I back up the calendars on my iPhone somewhere and then import them into iCal? any other ideas for how to sort this please? it's driving me mad. thanks.
I don't think there will be a solution to this. Exchange 2003 just isn't supported.
-
How to sort out error downloading perpetual license of the CS6 Design Standard for MAC: JRun Servlet Error 413 Header Length too Large?
Just bought the perpetual license online - student-teacher version. Received email confirming my eligibility and followed all instructions to a 't', but still got this 413 error message, and cannot continue.
Would anyone be able to help me?
Or how can I get in touch with Adobe themselves?
How do you get to the chat? I bought it with their help, but cannot remember how to get there again. Took me ages to find the chat.
Cheers!!! Thanks a million! Any help is welcome!!!!Make sure you have cookies enabled and clear your browser's cache before you try downloading. If it continues to present that error try using a different browser.
As far as getting to a chat link goes, it can be hit or miss... Start Here If after selecting relevant responses you are unable to find a solution, choose "Still need help? Contact us." and the chat contact option.
Maybe you are looking for
-
New Mac Mini - NO MINI DVI TO VGA!!
Apple why on earth can I not choose the VGA adapter over the HDMI in my order? Your margins are fat enough as they are, now if I need/want this Mac Mini I gotta chuck/ebay the HDMI adapter and buy the VGA adapter to get it to work on our VGA displays
-
Question about ObjectProxys and Models./
Hi everyone!! first post I have an object proxy called mappingList which contains the name of a field as the label in a the matching models below (originModel and targetModel) and a value that contains a boolean of whether I should copy that fields v
-
Impossible to upload changes to website
Hi all, I made my site with iWeb '09. It's on the net but now i can not make any changes.In iWeb itself it works fine, I upload the changes i've made, visit my site and... There we are, just the same as it was. I know i filled in the "sitename" on th
-
Lost iWeb 1.0 Templates
Upgraded iWeb to latest version, now only iWeb Themes 1.1, Themes 1.0 appears in the menu but not avaliable. Where did they go?
-
WSDL Problem - Bind Method to URL
Hi Everybody! I have problem concerning WSDL. I have created a small webservice and used to Java2WSDL to generate the WSDL from the interfaces. Now I can call a specific method via "http://localhost/myWebservice?method=requestSummary/paramA=... What