Skip to main content
Nintex Community Menu Bar
Question

Daily View Calendar - Not Summarizing by Assigned ID

  • Jul 10, 2024 8:44 PM UTC
  • 16 replies
  • 21 views
  • Translate All

Forum|alt.badge.img+2

Attempting to build a Calendar for our German team. The Daily Calendar isn’t displaying any Events on the Daily Calendar and showing duplicate Assigned IDs. Followed the instructions on the Skuid Tutorials and I’m not sure how to resolve this issue.

Any and all help is greatly appreciated.

Thanks,

PJ

16 replies

Forum|alt.badge.img+10

Patrick,

What model are you using for the Assignee ‘grouping’?  Can you post a screenshot of this model?

Thanks,

Bill

Translate

Forum|alt.badge.img+2

Translate

Forum|alt.badge.img+10

Have you seen our documentation on Calendars?
https://docs.skuid.com/latest/en/skuid/components/calendar/index.html

Translate

Forum|alt.badge.img+2

Hi Steven,

Thank you for reaching out. I reviewed the documentation and still am stuck on this issue.

Thanks,

Patrick

Translate

Forum|alt.badge.img+10

Can you copy and paste the XML for this page? Is it short enough to do so? Preferably without custom objects or fields.

Translate

Forum|alt.badge.img+2
Sales Rep (Germany) Subsidiary - Sales Manager (Germany) Customer Service (Germany) Customer Service (Germany) Sales Rep (Germany) Subsidiary - Sales Manager (Germany) Sales Rep (Germany) Subsidiary - Sales Manager (Germany) Customer Service (Germany) {{Subject}}-{{Type}} {{Type_of_Visit__c}}-{{WhatId}} &l
Translate

Forum|alt.badge.img+10

Patrick,

In looking at your XML, I think your setup for the ‘Day View’ is referencing the wrong field for the . I think it should be ‘OwnerId’ instead of ‘What_ID__c’. See below:

<eventview type="dayscheduling" searchbox="true" searchmethod="client" groupingmodel="DayModelCalendar" pagesize="" starthour="8" endhour="18" divisionsperhour="2">
      <groupingtemplate>{{OwnerId}}</groupingtemplate>
</eventview>

Thanks,

Bill

Translate

Forum|alt.badge.img+10

Patrick,

Disregard that last message.  The groupingtemplate is just for display.

In your Event Source, your grouping field is WhoId.  Shouldn’t this be the ‘OwnerId’ from the Event?

Thanks,

Bill

Translate

Forum|alt.badge.img+2

Hi Bill,

Thanks for the tip. After updating the Event Source Grouping to OwnerId, the daily calendar view continues to show duplicates of the Owner ID and doesn’t display any Event details like the weekly and monthly calendars.

Thanks,

Patrick

Translate

Forum|alt.badge.img+10

Stephen,

I am seeing what Patrick is seeing. I have a list of Events with an aggregate model of EventOwners for my grouping model. My Day View shows the list of Owners/Assignees but not the corresponding calendar entry. I have attached the XML from my page. I have only used standard fields in the page. Would you see if I have missed something. I am using Brooklyn 10.0.0.2.

Patrick,

Take a look at the EventOwners model. You can use this to get a de-duplicated list of Owners/Assignees.

Thanks,

Bill

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" useviewportmeta="true" showheader="true">
    <models>
        <model id="EventOwners" limit="" query="true" createrowifnonefound="false" datasource="salesforce" type="aggregate" sobject="Event">
            <fields/>
            <conditions/>
            <actions/>
            <groupby method="simple">
                <field id="OwnerId" name="OwnerId"/>
                <field id="Owner.Name" name="ownerName"/>
            </groupby>
        </model>
        <model id="EventCalendar" limit="100" query="false" createrowifnonefound="false" datasource="salesforce" type="" sobject="Event">
            <fields>
                <field id="OwnerId"/>
                <field id="Owner.Name"/>
                <field id="Subject"/>
                <field id="EndDateTime"/>
                <field id="StartDateTime"/>
                <field id="Owner.Id"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <skoocal rememberdate="true" rememberview="true" uniqueid="sk-1JEv8a-159">
            <sources>
                <eventsource name="Event Calendar" createable="true" deleteable="true" updateable="true" eventclickhandler="autopopup" showdefaultbuttons="true" model="EventCalendar" namefield="Subject" startfield="StartDateTime" endfield="EndDateTime" groupfield="OwnerId" fieldtargetobjects="User" color="lightgreen">
                    <eventtemplate>{{Subject}} -
 {{Owner.Name}}</eventtemplate>
                </eventsource>
            </sources>
            <views>
                <eventview type="month"/>
                <eventview type="week" uselanes="false">
                    <groupingtemplate>{{OwnerId}}</groupingtemplate>
                </eventview>
                <eventview type="dayscheduling" searchbox="true" searchmethod="client" groupingmodel="EventOwners" pagesize="" starthour="8" endhour="18" divisionsperhour="2">
                    <groupingtemplate>{{{ownerName}}}</groupingtemplate>
                </eventview>
            </views>
        </skoocal>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>

Translate

Forum|alt.badge.img+10

Thank you Bill.

I have been able to reproduce the issue and will notify this post when an upgrade or workaround is available.

Translate

Forum|alt.badge.img+10

Stephen,

Thanks for the confirmation of a problem.

Best,

Bill

Translate

Forum|alt.badge.img+2

Hi Stephen ,

Any update on this issue?

Thanks,

Patrick

Translate

Forum|alt.badge.img+10
  • Nintex Employee
  • Jul 10, 2024 9:32 PM UTC

Hello Patrick, 

Our development team is aware of the issue and working toward a fix. We don’t have a timeline on a fix yet, but this is definitely on their radar. In the meantime, are any of the other calendar views acceptable as substitutes?

Regarding the duplicate Owners you’re seeing, the reproduction page we have isn’t showing that issue, so it could be unrelated. Is the model behind this calendar possibly grabbing inactive users? If so, perhaps a condition that checks against that would resolve that issue.

Translate

Forum|alt.badge.img+20

No worries. I worked around it by creating another model to the user object derived on the model I was trying to use. All set.

Translate

Forum|alt.badge.img+10

Hello Skuid Community ~

This has been addressed in the new Millau 11.0.2 and Brooklyn 10.0.12 release which is now available on the Skuid Releases page.

As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.  

Translate