This topic contains 2 replies, has 2 voices, and was last updated by  master 7 years, 10 months ago.

  • Author
    Posts
  • #73566

    master
    Participant

    Hello Friends,

    We are using the calendar in a data set with many “groups” of users. Each group only sees it’s own calendar because we filter in the URL (&Group=test). However, if the same resource name (e.g., Joel) is used in more than one group then no column for the resource appears. Here is an example URL:

    http://10.10.10.52/sosimple/sosimple_cal.php?calendar=XXX&filter_resource=Joel%7CMark&Resource=Joel%7CMark&Group=test&now=-3&tm_step=20&st_time=08&en_time=17&hr_height=88&js=1#date=2017-01-06,mode=unit

    Can you please help solve this problem? Thanks — Mark

    • This topic was modified 7 years, 11 months ago by  master.
  • #73573

    admin
    Keymaster

    I’m sure I’m misunderstanding the question.

     

    The “&filter_resource=” parameter filters what columns show up. So “&filter_resource=Joel%7CMark” should show just the columns for Joel & Mark.

    If you’re using the resource name to manage resources and you have two resources of the same name, it will treat them the same.

    The best solution would be to use IDs for your resources, then you can filter them that way. If you’re using a resource table, you can manage resources by ID. Then they would each be unique. That’s what we do in our sample file.

    http://www.sosimplesoftware.com/products/calendar-documentation/calendar-builder-reference/data-sources/filemaker-fields/resources/

  • #73699

    master
    Participant
    This reply has been marked as private.

You must be logged in to reply to this topic.