Git Product home page Git Product logo

Comments (13)

Matej4386 avatar Matej4386 commented on June 26, 2024 4

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.

Matej4386 avatar Matej4386 commented on June 26, 2024 2

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.

ManuSquall avatar ManuSquall commented on June 26, 2024 1

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.

Matej4386 avatar Matej4386 commented on June 26, 2024 1

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.

DeveshRV avatar DeveshRV commented on June 26, 2024

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.

Matej4386 avatar Matej4386 commented on June 26, 2024

The solution is available here: https://github.com/Matej4386/SP2019-search/releases/tag/2.0.0.6

from sp2019-search.

ManuSquall avatar ManuSquall commented on June 26, 2024

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:

image

And the search box is also missing if i don't check "Use a default search query" option with a default value:

image

Thanks in advance for anyone who can help me on those points or share some links.

from sp2019-search.

Matej4386 avatar Matej4386 commented on June 26, 2024

Hi @ManuSquall skipFeatureDeployment property should not have any impact. Waiting for screenshots ;-)

from sp2019-search.

ManuSquall avatar ManuSquall commented on June 26, 2024

Webpart screenshots:
image

Display of the webpart:
image

Set " " (spacebar) for query keyword to display searchbar and results appear on the display:
image

image

image

image

image

image

image

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.

Matej4386 avatar Matej4386 commented on June 26, 2024

image
image
image
image
image

from sp2019-search.

Matej4386 avatar Matej4386 commented on June 26, 2024

image

from sp2019-search.

ManuSquall avatar ManuSquall commented on June 26, 2024

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.

ManuSquall avatar ManuSquall commented on June 26, 2024

Thank you @Matej4386 🥳🥳

image

from sp2019-search.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.