58
IQA Advanced Lori Bertrand C Systems Global

IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

IQA Advanced

Lori Bertrand

C Systems Global

Page 2: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced IQA

• Advanced Options in Sources Tab

• Advanced Options in Filters Tab

• Advanced Options in Display Tab

• Advanced Options in Security tab

• IQA Groups

• Other Data Sources

• IQA Queries Online

• Other Advanced Options

• Styling IQA Display

Page 3: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced Options Sources Tab

Page 4: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Join Options

• Standard “pre-defined” joins for common business object sources

• CsContact to CsAddress based on preferred mail, preferred bill, preferred ship)

• CsContact to CsDemo objects

• CsContact to CsActivity

• CsContact to CsName* objects

Page 5: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Join Options

• Custom Join creation, i.e.• CsContact to CSAddress based on address purpose

• CsContact to CsRegistration (by ST_ID or BT_ID)

• CsContact to CsCommittee Member (ID)

• CsContact to CsInvoice (ST_ID or BT_ID)

Page 6: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Select Custom to create your own Join logic

The message “one or more sources have not been related” will display until you have defined all necessary joins/relations

Join Options

Page 7: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Advanced Join options on Sources

Join Options

Page 8: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Join Types

• Equals

• Left Join (include all records from “left” source and “any” records from “right” even if no “right” source records

• Exists (include all records from the “left” where a matching record “exists” in the “right” source records)

• Not Exists (include all records from “left” source where “no records exist” in right source records)

• Or Exists

• And Exists

Page 9: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Use Force Order • Require SQL Server to join the tables in a query in

the order you specify.

• Use No Lock locking hint• Require SQL Server to ignore record locks.

Join Types

Page 10: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Use Join method for security enforcement• If enabled, when users run the query, iMIS checks to

make sure they have permission to read every source within the query before displaying the results, whether the source is a business object, another query, or both. When disabled, iMIS does not check the security for every source and instead only enforces the security setting for the main query.

Join Types

Page 11: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced Options Filters Tab

Page 12: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Filter Options

• Where/Where Not

• Multiple option

• Comparison options

• Prompt

• Add Filter – AND/OR

Page 13: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Where/Where Not

Filter Options

Page 14: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Multiple• Can be tricky. Check to make sure your values were

saved.

Filter Options

Page 15: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Filter comparison options• Will change based on type of field (date vs text vs

number)

Filter Options

Page 16: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Filter Options

Page 17: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Require user to provide at least one value• enforce a selection of at least one filter (parameter)

value

• Limit the number of results displayed

Filter Options

Page 18: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Advanced options – Functions• on Display (controls # records displayed)

• On Filters (controls # records searched)

• Max

• Min

• Count

Filter Options - Functions

Page 19: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Advanced options – Functions• on Display (controls # records displayed)

Filter Options - Functions

Page 20: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced OptionsDisplay Tab

Page 21: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Display Options - Alias field usage

• Change the title of the results column

• Link to another record (web view)

Page 22: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Select View All in the View drop downScroll all the way to the bottom of the list of fields

Display Options - SQL expressions

Page 23: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

SQL expressions - examples

Date instead of Datetime

• Convert(varchar,vBoCSContact.JoinDate,101)

Yes/No instead of True/False on boolean field display

• Case when vBoCSName_Demo.eNewsletter = 1 then “Yes” else “No” end

Concatenated fields

• (Case when vBoCSContact.DESIGNATION = ‘’ then vBoCSContact.Prefix + ‘ ‘ else ‘’ end) + vBoCSContact.FirstName + ‘ ‘ + (case when vBoCSContact.MiddleName <> ‘’ then vBoCSContact.MiddleName + ‘ ‘ else ‘’ end) + vBoCSContact.LastName + (Case when vBoCSContact.DESIGNATION <> ‘’ then ‘, ‘ + vBoCSContact.DESIGNATIONelse ‘’ end)

Page 24: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Hyperlinks in display fields

Email

• '<a href=mailto:' + vBoCsContact.Email + '>' + vBoCsContact.Email + '</a>‘

Website

• '<a href=http://' + vBoCsContact.Website + ' target="_blank">' + vBoCsContact.Website + '<a>'

SQL Expressions - Hyperlinks

Page 25: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Display Options - Subtotals

Page 26: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced OptionsSecurity

Page 27: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced Options - Security

• Add Security to IQA folders

• Add Security to IQA queries• Consider online queries

• Control levels of security – Read Only, Add, Edit, Delete

• Specific Roles, Groups, Member Types, Users

• Dynamic Groups

• Adding new Roles (i.e. Finance, Membership)

Page 28: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Click on the Folder; click Edit. View the Access settings

Advanced Options - Security

Page 29: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Role based security

Advanced Options - Security

Important:Be sure to uncheck the default Everyone role

Check the Role(s) that will apply

Edit the permission levels as needed

Page 30: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

System Setup >> Security Administration >> Roles >> Add Role

Advanced Options - Security

Page 31: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Insert the Role on the Members record –User Credentials

Advanced Options - Security

Page 32: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Dynamic Group based security

Advanced Options - Security

Page 33: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced OptionsIQA Dynamic Groups

Page 34: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

IQA Dynamic Groups

Need to include a data source with a ContactKey property.

Page 35: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

IQA Dynamic Groups

Need to include ContactKey in Display.

Page 36: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

IQA Dynamic Groups

Provide the Group Name. Indicate field to use for ContactKey. Select a schedule option.Click button to Create Group.

Page 37: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Advanced OptionsOther Data Sources

Page 38: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Query on a Query

• Cross module query on query, i.e. use my Membership query in Customers but want to connect and pull info from an Event or Orders query that already exists

• Query linked to query to use exclusion logic

Page 39: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Note the path to queries is different from the standard business objects. Often you look in either Contact Management, Event Management, Order Management or Fundraising (depending on which module the existing query is tied to).

Query on a Query

Page 40: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

SQL Views as Business Object

Create VIEW [dbo].[vw_CSYS_EmailNotUsername]

AS

select n.id, n.email, u.UserId

from name n, usermain u

where n.id = u.ContactMaster

and n.email <> u.UserId

Page 41: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

SQL Views as business object

• Create new business object and point to the sql view you created. Add fields as properties. Publish the new business object.

Page 42: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

IQA Queries Online

Page 43: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

IQA Online - Special Filters

• Need to include a data source that provides the UserKey

• @SelectedUser• On behalf of• Company

administrator

• @LoggedInUser

Page 44: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Linking to another content page

~/iCore/Fundraising/Manage_Donor.aspx&ID=[code_id]

Page 45: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Add query to content page

Query related content options

Page 46: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Add query to content page

Use QueryMenu ipart – to display grid results

Page 47: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Add query to content page

Use QueryChartipart to display results in a chart format

Page 48: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Styling IQA Display

Page 49: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Styling IQA display - Javascript

• Add html ipart to content page that has the query menu ipart

Page 50: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Configure the HTML ipart. Important add the jquery while in HTML mode.

Styling IQA display - Javascript

Page 51: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

• Hide Grid• <script

type="text/javascript">jQuery(function(){//removes table structure from IQA grid outputjQuery(".StaffList.col-md-4").unwrap().unwrap().unwrap().first().prev().remove();jQuery(".StaffList .col-md-4").first().prev().remove();jQuery(".StaffList .col-md-4").unwrap();});</script>

Styling IQA display - Javascript

Page 52: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Styling IQA display - Javascript

Page 53: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Styling IQA Display - CSS

Page 54: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Styling IQA Display

• Right Justify number fields/columns

.join005Page thead th.rgHeader:nth-child(2), .join005Page tbody tr td:nth-child(2), .join005Page theadth.rgHeader:nth-child(3), .join005Page tbody tr td:nth-child(3) { text-align: right!important;}

Page 55: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

VS

Styling IQA display

Right Justify Columns

Page 56: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Styling IQA Display - CSS

• Suppress sort on column headings.deactivateHeader .rgHeader { pointer-events: none; cursor: none;}.deactivateHeader .RadGrid_MetroTouch.rgHeader a { text-decoration: none!important; font-weight: bold; color: black!important;}

Page 57: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

Questions?

Thank you for participating.

Page 58: IQA Advanced - NiUG€¦ · Filter Options •Where/Where Not •Multiple option •Comparison options •Prompt •Add Filter –AND/OR •Where/Where Not Filter Options •Multiple

SPONSORED BY: