Giter Club home page Giter Club logo

Comments (2)

YannickRe avatar YannickRe commented on May 27, 2024

Hi @HamEv,

I split off your second question into a separate issue, it helps me manage the conversation.

As far as I can see it is not supported to use substr in $filter, while using Microsoft Graph. It's a bit difficult to figure out what is supported and what not, but it is basically combining the generic info about $filter with the properties of users that are supporting $filter.

I hope you can figure out a filter that can work for you.

from spfx-msgraph-peoplesearch.

naturelgass avatar naturelgass commented on May 27, 2024

I’m struggling with another problem of the webpart (or even more with the odata request). I would like to use substring of in the $filter parameter, but unfortunately it’s not working (-> invalid filter clause).

What I’m trying to to is: $filter: substring(‘OÖ’, department)
What’s working: $filter: department eq ‘LD OÖ’

Do you have any information what I should use for using substring?

Thanks a lot and best regards,
Evelyn

If found that the startswith string operator is supported, so you can search e.g. by the first letter like this: startswith(displayName,'A')

from spfx-msgraph-peoplesearch.

Related Issues (20)

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.