Announcement

Collapse
No announcement yet.

Url of search result

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Url of search result

    Hi,

    When we do a search, we have this on request : /api/v1/Contact?maxSize=20&offset=0&sortBy=createdAt&asc=f alse&where%5B0%5D%5Btype%5D=textFilter&where%5B0%5 D%5Bvalue%5D=han.
    and the result is a json. and the content of view change

    Is there another url way to view the result like human search ? List view ? I have try :
    /#Contact?maxSize=20&offset=0&sortBy=createdAt&asc= false&where%5B0%5D%5Btype%5D=textFilter&where%5B0% 5D%5Bvalue%5D=han.
    but page not found.

    Other sample :
    api/v1/GlobalSearch?q=han&maxSize=5&offset=0&sortBy=id&as c=
    return Json.
    It's possible to have a "list view" of result ?
    Someone can point me how make a custom view list ? wich and where file create or modify. I have read and try https://www.espocrm.com/documentatio.../custom-views/ but something not understand.

    Maybe a view like "view all notification"

    Regards

  • #2
    Hi,
    im the same way, I try to build for a Enum type field, how make the query of the last value ? (value: 'abc', )
    I obtain : value[0]=abc and not value[]=abc

    query = {
    asc: false,
    maxSize: '2',
    offset: '0',
    sortBy: 'dateStart',
    where : [
    {
    attribute: 'dateStart',
    dateTime: 'true',
    timeZone: 'Europe/Brussels',
    type: 'today',
    },
    {
    attribute: 'userName',
    type: 'equals',
    value:'espo',
    },
    {
    attribute: 'status',
    type: 'in',
    value: 'abc',
    },
    ]
    }


    Regards
    Last edited by item; 01-03-2018, 05:52 PM.

    Comment

    Working...
    X