Comments (13)
Och sorry, I wasnt looking at this new version :-( my bad, I had two workbenchs running and old installed version on search in workbench. I modified code.
Small fix in src\webparts\nbsSearch\NbsSearchWebPart.ts:
if (isValueConnected && !this.properties.useDefaultSearchQuery ||
isValueConnected && this.properties.useDefaultSearchQuery && this.properties.defaultSearchQuery ||
!isValueConnected && !isEmpty(queryKeywords) ||
this.properties.useSearchBox) {
renderElement = this._searchContainer;
from sp2019-search.
Hello,
sorry for late answer. What are the problems with package deployment?
Yes there is only one webpart (search box and search results are in 1 webpart because with spfx 1.4. we cant have 2 webparts communicating with each other).
Could you please post webpart settings?
from sp2019-search.
Hi @Matej4386, hope you're doing well.
Thanks for the explanations, really helpfull.
Unfortunally, due to a local restriction situation, i can only deploy a webpart by enable "skipFeatureDeployment" property to true. I have tested your webpart by download it, add some change, bundle and package it again.
Webpart screeshoots coming ahead:
from sp2019-search.
Hello, OK I have just tested it (fresh webaprt added to site). Yes at first there is no SearchBox (I think because of some props dont update well at start), I dont think you need to set up any query keywords, just go to the Search bar setting in properties pane and turn it of and on again.
from sp2019-search.
Hello,
The search box and other webparts of original solution do not work with SharePoint 2019. Can you please integrate/ share links for the other webparts for SP2019. Many Thanks in advance
from sp2019-search.
The solution is available here: https://github.com/Matej4386/SP2019-search/releases/tag/2.0.0.6
from sp2019-search.
Hello @Matej4386, thanks a lot for the initiative and this webpart!
I'm facing some issues when i try to deploy it, instead of taking the sppkg that i can't deploy, i tried to package your solution with the "skipFeatureDeployment" parameter set to "true".
Once deployed i only see one webpart without the posibility to choose a data source list or site:
And the search box is also missing if i don't check "Use a default search query" option with a default value:
Thanks in advance for anyone who can help me on those points or share some links.
from sp2019-search.
Hi @ManuSquall skipFeatureDeployment property should not have any impact. Waiting for screenshots ;-)
from sp2019-search.
Set " " (spacebar) for query keyword to display searchbar and results appear on the display:
Beside all, is there a way to display the search bar without setting any query keywords?
Is it possible to add custom filter from a list basic column?
Do you also have so good links (or advice) on how to integrate search with KQL queries like what you have done ? :-)
Thank you for your time!
from sp2019-search.
from sp2019-search.
from sp2019-search.
Hello, OK I have just tested it (fresh webaprt added to site). Yes at first there is no SearchBox (I think because of some props dont update well at start), I dont think you need to set up any query keywords, just go to the Search bar setting in properties pane and turn it of and on again.
Have done it and it still not displaying. By the way it seems like your webpart settings display differ from mine. Is it possible to get his source code please? I'm actually using the webpart cod eof your master branch
from sp2019-search.
Thank you @Matej4386 🥳🥳
from sp2019-search.
Related Issues (15)
- Request App Package HOT 4
- Not working with anonymous access on SP2019? HOT 4
- Query to show People search results option in same template HOT 3
- How to use custom date range filter HOT 1
- Unable to select a specific site or list as data source HOT 3
- SPPKG for SP2019 HOT 2
- gulp bundle erros HOT 15
- Sorting fails to sort by selected options
- error on install
- Build error HOT 3
- Dynamic search in MySearch PnP webpart HOT 4
- Issue while searching for multiple words & operators using Query string parameter HOT 1
- Steps to get started? HOT 1
- Running Gulp Serve - Blank Work bench form is appearing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sp2019-search.