Posting Skuid XML pages to Get Satisfaction

  • 2
  • Idea
  • Updated 6 years ago
Sometimes to help us debug your Skuid pages, we'll need you to post the XML to the community. There are two ways to do this.

1. The first way is to wrap your XML in the following HTML tags

<pre><code>

</code></pre>


Here is an example of me using the first method


<skuidpage showsidebar="false" showheader="true" tabtooverride="Skuid Central">
<models>
<model id="Events" limit="100" query="false" createrowifnonefound="false" orderby="LastModifiedDate DESC" sobject="Event">
<fields>
<field id="StartDateTime"/>
<field id="EndDateTime"/>
<field id="Subject"/>
<field id="WhoId"/>
<field id="Who.Name"/>
<field id="Type"/>
</fields>
<conditions/>
</model>
<model id="Contacts" limit="100" query="true" createrowifnonefound="false" orderby="LastModifiedDate DESC" sobject="Contact">
<fields>
<field id="Name"/>
</fields>
<conditions>
<condition type="fieldvalue" value="Ripley" enclosevalueinquotes="true" field="LastName"/>
</conditions>
</model>
</models>
<components>
<skoocal>
<sources>
<eventsource name="Calls" model="Events" namefield="Subject" startfield="StartDateTime" endfield="EndDateTime" color="" groupfield="WhoId">
<eventtemplate>{{Subject}} - {{Type}}
{{WhoId}}</eventtemplate>
<conditions>
<condition field="Type" value="Email"/>
</conditions>
</eventsource>
<eventsource name="Emails" model="Events" color="tan" namefield="Subject" startfield="StartDateTime" endfield="EndDateTime" groupfield="WhoId">
<eventtemplate>{{Subject}} - {{Type}}
{{WhoId}}</eventtemplate>
<conditions>
<condition field="Type" operator="=" value="Call"/>
</conditions>
</eventsource>
<eventsource name="Other" model="Events" color="orange" namefield="Subject" startfield="StartDateTime" endfield="EndDateTime" groupfield="WhoId">
<eventtemplate>{{Subject}} - {{Type}}
{{WhoId}}</eventtemplate>
<conditions>
<condition field="Type" operator="!=" value="Email"/>
<condition field="Type" operator="!=" value="Call"/>
</conditions>
</eventsource>
</sources>
<views>
<eventview type="month"/>
<eventview type="week"/>
<eventview type="dayscheduling" groupingmodel="Contacts" pagesize="5"/>
</views>
</skoocal>
</components>
<resources>
<labels/>
<javascript/>
<css/>
</resources>
</skuidpage>



2. The second way is to use an html encoder like this one. Just paste your xml code into the input box, encode it, and then paste the result back into get satisfaction.
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb

Posted 6 years ago

  • 2

Be the first to post a reply!