Filter results from Multi Entity Search/Global Search
Hi,
Could it be possible to filter results from MS CRM 2015 Multi entity search (global search) similar to RetrieveMultiple message plugin.
Thanks
Possibly, this could be BUG.
Haven't experience this kind of issue...
Cheers,
Gulab Prasad
Technology Consultant
My Blog:
Exchange Ranger
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Similar Messages
-
How to filter results from 4 dynamic list menus depandant on how many of them are selected
I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?
Hey there,
Thanks for replying,
I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
Any suggestions?
SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR ( location=varloc AND type=vartype AND beds=varbed) OR (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
ORDER BY detailstable.trueprice ASC
Look forward to receiving your thoughts,
Linda
Date: Wed, 21 Oct 2009 14:36:33 -0600
From: [email protected]
To: [email protected]
Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
Hiya,
I'm just doing my first dynamic site too, and am at a similar level to yourself.
Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
Let me know how you're going on anyway
Cheers
Andy
> -
AD Global search doesn't return known entity
AD Global Search filter does this:
I type in: "report" and hit enter
It returns this:
Finance Reporting - User -
ReportingGroup {guid} - Group -
but NOT this known group "AllApps Reporting Users"
typing "allapps report" DOES return the item as does "allapps"
What gives?Hi Vivian,
Thanks for your help - it solved my issue. I'm a little dissapointed that the "answer" was really in the comments only...
Apparently (its not obvious) the filter behaves non-intuitively, but that you are able to do more complex queries using LDAP syntax:
THIS appears to return the results I WOULD HAVE EXPECTED from entering "Report" into the textbox with "Normal" selected
press "convert to LDAP" option
Change (anr=report) to (Name=*report*)
click "Apply" button
I guess without full understanding of AD and LDAP I was not to understand the implications of "ANR=" and that its deliberately HYPER-EXCLUSIVE - doesn't make the unintuitive nature of the "filter" any easier for beginners
to realise that they are missing many "potential results"...
Still, from the description in here (http://support.microsoft.com/kb/243299/en-us) you would think that "anything containing REPORT would be returned" ... but apparently that's not how
it works...
eg: using the "John Buck" example I would have thought that:
"anr=report"
would match:
Soemthing Report Soemthing
But it doesn't... -
Hi,
I want to setup an outpund hybrid search for SharePoint 2013 on-premise to SharePoint Online.
But I'm not shure if this works with ADFS SSO.
Has somebody experience with this setup?
Here's my guide which I'm going to use for this installation:
Introduction
In this post I'll show you how to get search results from your SharePoint Online in your SharePoint 2013 on-premise search center.
Requirements
User synchronisation ActiveDirectory to Office 365 with DirSync
DirSync password sync or ADFS SSO
SharePoint Online
SharePoint 2013 on-premise
Enterprise Search service
SharePoint Online Management Shell
Instructions
All configuration will be done either in the Search Administration of the Central Administration or in the PowerShell console of your on-premise SharePoint 2013 server.
Set up Sever to Server Trust
Export certificates
To create a server to server trust we need two certificates.
[certificate name].pfx: In order to replace the STS certificate, the certificate is needed in Personal Information Exchange (PFX) format including the private key.
[certificate name].cer: In order to set up a trust with Office 365 and Windows Azure ACS, the certificate is needed in CER Base64 format.
First launch the Internet Information Services (IIS) Manager
Select your SharePoint web server and double-click Server Certificates
In the Actions pane, click Create Self-Signed Certificate
Enter a name for the certificate and save it with OK
To export the new certificate in the Pfx format select it and click Export in the Actions pane
Fill the fields and click OK Export to: C:\[certificate
name].pfx Password: [password]
Also we need to export the certificate in the CER Base64 format. For that purpose make a right-click on the certificate select it and click on View...
Click the Details tab and then click Copy to File
On the Welcome to the Certificate Export Wizard page, click Next
On the Export Private Key page, click Next
On the Export File Format page, click Base-64 encoded X.509 (.CER), and then click Next.
As file name enter C:\[certificate
name].cer and then click Next
Finish the export
Import the new STS (SharePoint Token Service) certificate
Let's update the certificate on the STS. Configure and run the PowerShell script below on your SharePoint server.
if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
# set the cerficates paths and password
$PfxCertPath = "c:\[certificate name].pfx"
$PfxCertPassword = "[password]"
$X64CertPath = "c:\[certificate name].cer"
# get the encrypted pfx certificate object
$PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
# import it
Set-SPSecurityTokenServiceConfig -ImportSigningCertificate $PfxCert
Type Yes when prompted with the following message.
You are about to change the signing certificate for the Security Token Service. Changing the certificate to an invalid, inaccessible or non-existent certificate will cause your SharePoint installation to stop functioning. Refer
to the following article for instructions on how to change this certificate: http://go.microsoft.com/fwlink/?LinkID=178475. Are you
sure, you want to continue?
Restart IIS so STS picks up the new certificate.
& iisreset
& net stop SPTimerV4
& net start SPTimerV4
Now validate the certificate replacement by running several PowerShell commands and compare their outputs.
# set the cerficates paths and password
$PfxCertPath = "c:\[certificate name].pfx"
$PfxCertPassword = "[password]"
# get the encrypted pfx certificate object
New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
# compare the output above with this output
(Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate
[/code]
## Establish the server to server trust
[code lang="ps"]
if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
Import-Module MSOnline
Import-Module MSOnlineExtended
# set the cerficates paths and password
$PfxCertPath = "c:\[certificate name].pfx"
$PfxCertPassword = "[password]"
$X64CertPath = "c:\[certificate name].cer"
# set the onpremise domain that you added to Office 365
$SPCN = "sharepoint.domain.com"
# your onpremise SharePoint site url
$SPSite="http://sharepoint"
# don't change this value
$SPOAppID="00000003-0000-0ff1-ce00-000000000000"
# get the encrypted pfx certificate object
$PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
# get the raw data
$PfxCertBin = $PfxCert.GetRawCertData()
# create a new certificate object
$X64Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
# import the base 64 encoded certificate
$X64Cert.Import($X64CertPath)
# get the raw data
$X64CertBin = $X64Cert.GetRawCertData()
# save base 64 string in variable
$CredValue = [System.Convert]::ToBase64String($X64CertBin)
# connect to office 3656
Connect-MsolService
# register the on-premise STS as service principal in Office 365
# add a new service principal
New-MsolServicePrincipalCredential -AppPrincipalId $SPOAppID -Type asymmetric -Usage Verify -Value $CredValue
$MsolServicePrincipal = Get-MsolServicePrincipal -AppPrincipalId $SPOAppID
$SPServicePrincipalNames = $MsolServicePrincipal.ServicePrincipalNames
$SPServicePrincipalNames.Add("$SPOAppID/$SPCN")
Set-MsolServicePrincipal -AppPrincipalId $SPOAppID -ServicePrincipalNames $SPServicePrincipalNames
# get the online name identifier
$MsolCompanyInformationID = (Get-MsolCompanyInformation).ObjectID
$MsolServicePrincipalID = (Get-MsolServicePrincipal -ServicePrincipalName $SPOAppID).ObjectID
$MsolNameIdentifier = "$MsolServicePrincipalID@$MsolCompanyInformationID"
# establish the trust from on-premise with ACS (Azure Control Service)
# add a new authenticatio realm
$SPSite = Get-SPSite $SPSite
$SPAppPrincipal = Register-SPAppPrincipal -site $SPSite.rootweb -nameIdentifier $MsolNameIdentifier -displayName "SharePoint Online"
Set-SPAuthenticationRealm -realm $MsolServicePrincipalID
# register the ACS application proxy and token issuer
New-SPAzureAccessControlServiceApplicationProxy -Name "ACS" -MetadataServiceEndpointUri "https://accounts.accesscontrol.windows.net/metadata/json/1/" -DefaultProxyGroup
New-SPTrustedSecurityTokenIssuer -MetadataEndpoint "https://accounts.accesscontrol.windows.net/metadata/json/1/" -IsTrustBroker -Name "ACS"
Add a new result source
To get search results from SharePoint Online we have to add a new result source. Run the following script in a PowerShell ISE session on your SharePoint 2013 on-premise server. Don't forget to update the settings region
if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
# region settings
$RemoteSharePointUrl = "http://[example].sharepoint.com"
$ResultSourceName = "SharePoint Online"
$QueryTransform = "{searchTerms}"
$Provier = "SharePoint-Remoteanbieter"
# region settings end
$SPEnterpriseSearchServiceApplication = Get-SPEnterpriseSearchServiceApplication
$FederationManager = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($SPEnterpriseSearchServiceApplication)
$SPEnterpriseSearchOwner = Get-SPEnterpriseSearchOwner -Level Ssa
$ResultSource = $FederationManager.GetSourceByName($ResultSourceName, $SPEnterpriseSearchOwner)
if(!$ResultSource){
Write-Host "Result source does not exist. Creating..."
$ResultSource = $FederationManager.CreateSource($SPEnterpriseSearchOwner)
$ResultSource.Name = $ResultSourceName
$ResultSource.ProviderId = $FederationManager.ListProviders()[$Provier].Id
$ResultSource.ConnectionUrlTemplate = $RemoteSharePointUrl
$ResultSource.CreateQueryTransform($QueryTransform)
$ResultSource.Commit()
Add a new query rule
In the Search Administration click on Query Rules
Select Local SharePoint as Result Source
Click New Query Rule
Enter a Rule name f.g. Search results from SharePoint Online
Expand the Context section
Under Query is performed on these sources click on Add Source
Select your SharePoint Online result source
In the Query Conditions section click on Remove Condition
In the Actions section click on Add Result Block
As title enter Results for "{subjectTerms}" from SharePoint Online
In the Search this Source dropdown select your SharePoint Online result source
Select 3 in the Items dropdown
Expand the Settings section and select "More" link goes to the following URL
In the box below enter this Url https://[example].sharepoint.com/search/pages/results.aspx?k={subjectTerms}
Select This block is always shown above core results and click the OK button
Save the new query ruleHi Janik,
According to your description, my understanding is that you want to display hybrid search results in SharePoint Server 2013.
For achieving your demand, please have a look at the article:
http://technet.microsoft.com/en-us/library/dn197173(v=office.15).aspx
If you are using single sign-on (SSO) authentication, it is important to test hybrid Search functionality by using federated user accounts. Native Office 365 user accounts and Active Directory Domain Services
(AD DS) accounts that are not federated are not recognized by both directory services. Therefore, they cannot authenticate using SSO, and cannot be granted permissions to resources in both deployments. For more information, see Accounts
needed for hybrid configuration and testing.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Hello Guys,
I am creating resultsource from central admin. If I create it from central admin it works fine. But if I am creating result source from power shell scripts it shows me following error message.
An exception of type 'Microsoft.Office.Server.Search.Query.InternalQueryErrorException' occurred in Microsoft.Office.Server.Search.dll but was not handled in user code
Additional information: Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator.
Any suggestion ?
Thanks in Advance.Hi,
Please provide more specific information about the issue. What type of content source you tried creating via powershell?
Make sure you are using the approproate permission and search service application.
Here is the reference for creating content resource via script:
http://technet.microsoft.com/en-us/library/ff607867(v=office.15).aspx
Regards,
Rebecca Tu
TechNet Community Support -
Whenever i am clicking search result from Google search bar, it always opens the Google home page. I can only open search result in new tab by double clicking. It started when i installed Firefox 12.
@mstm, please ensure that you write some thing in search bar before you click search icon. without entering anything will redirect to google.com. And make sure that you are clicking on search icon not home icon.
-
Is there a way to have the calender results in a global search on an iPhone to appear in reverse cronological order?
I guess not... (at least not on 5.x!!). I would just like the calendar search to return results in chronological order of any sort. With iCloud calendars and OS 5.1.1 it lists all the results (by date order) for one calendar, and then does all the results for the other one, which is a bit tiresome. Strangely it all works fine with Google calendars... But maybe I will just use spotlight search to get round this problem for now.
-
Stop Firefox from reverting back to Google Search Results when opening a page from results list
When I click on one of the results from a Google search, I have it open the page in a new window. The page opens in the new window just fine, but instead of letting me view the page in the new window, Firefox takes me back to the Google Search results page. I am able to click on the new window and view the page that I chose, but it gets old being sent back to the search results each time I click on one of them and attempt to view it.
This happens on my work PC, home laptop, and my desktop at home as well. I have different versions running on each machine, and home laptop has the latest version of Firefox. I have searched the web and cannot find anyone having this same problem, much less a resolution, so I will ask here.
I hope this makes sense, if more info is needed please let me know.
Thanks to anyone that can help.One reason for this can be if the new window contains Flash media, but Flash hasn't been used for several minutes, the Adobe protected mode feature changes the order of the windows. This is a bug that Adobe has yet to fix. This thread describes the problem in more details and lists the known workarounds: [https://support.mozilla.org/questions/955659 Opening New Windows and Shockwave Flash].
If you rule out the Flash issue, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using either:
* "3-bar" menu button > "?" button > Restart with Add-ons Disabled
* Help menu > Restart with Add-ons Disabled
Not all add-ons are disabled: Flash and other plugins still run
After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
Any difference? -
In list view: Why don't searches include results from the Collections field? Why won't the Collections column sort properly?
I create a new index on column2, (INDEX_N3)
and change SQL to
select 1 from table T1 where
T1.COLUMN_002 = '848K 36892'
This time INDEX_N3 will be used.
but change SQL to
select 1 from table T1 where
T1.COLUMN_002 = '848K 36892'
and T1.COLUMN_004 = '1000'
The explain plan will show full scan.
Why?
Thanks. -
When searching mail results only contain messages from the current year. I'd like to see results from all years. This just started after upgrading from Snow leopard to Lion.
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
Did this fix your problems? Please report back to us! -
Search Results - Filter Results By: - Show More ...
When I use the "Show More ..." option under one of the "Filter Results By:" groups, it works as expected. When I then select one of the items to filter by, it again works as expected. However, if I hit the back browser function or select the "Unfilter" option, the "Show more ..." expansion is restored. I suggest it return to the "Show Top 5..." presentation (as before the individual filter was selected).
Hi Sid,
You are right, I thought about this BADI we already enhanced it for BP authorization (like many people did in this forum). However my concern is that this BADI gets called like a million times before it gets back to the search result page and I am just not sure of the impact on performance. So I was thinking if anything else is possible at UI level. But may be I don't have many options here :(. Also if I select the multiple values for the field in the BADI it comes up in debug mode
MARKETINATTR I EQ "VALUE1"
MARKETINATTR I EQ "VALUE2"
it is searching for both individually, so it is basically working as a select option, not sure how I can combine them both.
Also you mentioned that searching BP on marketing attr is not possible in standard, but I think it is possible and we are searching on it. I know we have enhanced BP search for some other purposes but not for marketing Attr. as I can clearly see a standard field for MARKETINATTR in the context of BPMAINSEARCH IMPL class and when I use it in the search field it does pop up another view when I hit f4 on the possible values where I can select my attr set, attribute & value. I am on 7.0 by the way.
Thanks,
Kumar -
Clear search results from Content Services Windows Crawl 6.1
We have ALI Content Services Windows Files 6.1 with a crawl job on a network location. It works fine. Now we have changed the location - directory structure. The job, modified with the new location works fine, however, we still see search results from the old location also. Since those documents no longer exist, clicking on the link causes an error. How do we clear the search results?
Thanks.Have you tried running Search Repair. I believe this should clear out the orphaned search records.
-
How do I search scanned documents that Adobe Reader reads but shows 0 results from the search?
How do I search scanned documents that Adobe Reader reads but shows 0 results from the search?
If the scanned document was not processed for OCR, then it is just an image and cannot be searched for text.
-
Google bases search results based on my IP address. I am in the Philippines . Example, I want to find out how much a cell phone in the US is and I get results from India. I want US Results on my searches. How do I change Google to allow this. I am currently in the Philippines but want Search results for the US
See also:
* Google.com in English - always '.com': https://addons.mozilla.org/firefox/addon/51000 -
Why can't I get search results from Travelocity and Priceline using FF21?
When I use the Travelocity fight search page, I get an error page each time I use it. It works fine in IE. The same thing happens after getting a list of results from Priceline.com. You click on a flight and an error page appears. Again, it works fine in IE.
Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you.
Maybe you are looking for
-
00933 error when clicking on the data tab for the selected table
Hi, I'm getting the following error when selecting a table from the tree view then clicking on the data tab: An error was encountered performing the requested operation: ORA-00933: SQL command not properly ended 00933.00000 - "SQL command not properl
-
How do I get my music back onto my mac ?
I had to reinstall OX Lion and now all my itunes are only on my iPhone. How do I get them back onto the iMac?
-
My 3050 J610 printer goes into standby or sleep mode and then I cannot print docs to it wirelessly
Everytime I do not print something for a few hours, my printer goes into standby or sleep mode. When it does this, it cannot be used to print from my laptop or android to it. Is there a way to set this up so that it doesn't "go to sleep" and it is
-
The answers that your website have provided have not done me any good. I use a Master Password for Firefox. Now Firefox is not asking me if I want it to remember a certain password that I have entered for a website. In the 'Options' tab, I have told
-
Impossible to import somes pictures - iPhoto 6.0.5
I've just changed my PC laptop for a Mac G4 Powerbook. I really love this pruduct, but I have a big prb... I have about 5000k pictures on and external usb-drive, NTFS and HSF format. I've tried several times to import ALL my pictures in iPhoto, but i