235 Accordion Interface Accordiondesign.Txt, Style Section
Total Page:16
File Type:pdf, Size:1020Kb
Index A title column, 30 USAFAOperational class, 35 Accordion interface Attendees list, 203 accordionDesign.txt, custom view, 215 style section, 80 dash value, 220 blog posting, 78 data connection, 211 content editor referencing, 78 InfoPath form, 205 document.ready function, 83 LIST tab, 204 FAQ sections, 77 PowerApps, 218 logic, 81, 82 Available slots MyPageLoaded function, 83 cancel/save button, 214 section setting, 79 class full, 222 toggleClass method, 84 count function, 212 UpdateToggle function, 83 registration form, 214 Alert, 30, 32–33 saving the form, 223 Announcements list, jQuery affected network EDU, 31 B MIL, 31 BaseRecord parameter, 141 associated class, 33, 34 Built-in site usage, 226 calculated column, 30 built-in today() function, 151, 205 choice columns, 29, 30 button() method, 28 developer tools, 35, 36 EDUNotExpired view, 31 ms-cellstyle, 38, 39 C ms-vb2 classes, 38, 39 Calculated Value controls, 207, network alerts, 32–34, 36, 37 210, 212 © Jeffrey M. Rhodes 2019 235 J. M. Rhodes, Creating Business Applications with Office 365, https://doi.org/10.1007/978-1-4842-5331-1 INDEX Calendar events implementation, 45, 46, 48, 49 checkDoubleBook.js, 57, 61–64 legend styles and HTML, 51, checkForOverlaps function, 64 52, 54 checkRecurringEvents.js, 67, location column hiding, 43 69, 70 location title, 43, 44 Developer Tools, 64–66, 72 s4-bodyContainer, 47 Edit File, 58 window.setTimeout() jQuery.SPServices, 71 function, 47 prevention of double-booked Common access card (CAC), 119 message, 60 Content delivery network (CDN), 17 querySucceeded, 72, 74 Coordinated Universal Time saveCustomAction, 75 (UTC), 120 SharePoint Designer, 56 Count function, 212 startDateString, 66 currentEmail variable, 157 val() method, 66 CurrentTicketStatus global Cascading Style Sheets (CSS), 1, 13 variable, 154 checkForOverlaps, 65 CheckIfArchived workflow, 186 checkRecurringEvents.js, 56, 67 D ClassDropDown control, 220 Date Picker control, 193 Classes list Debugger tab, 19 capacity value, 221 Defaults method, 141 date/time, 202 Developer tools, 13, 168 default entry, 218 DisableIfNotApprover rule, 179 ID column, 203 document.ready function, 17, 64, 83 Lookup column, 203 read/edit, 204 testing, 202 E ClearCollect function, 157 Email user workflow Collaborative Application Markup initiation parameters, 198 Language (CAML), 71 SharePoint Designer, 199 Color-coded calendar, creation SharePoint 2010, 198 event location, 42 ewaOnPageLoad function, 131 GetLocation() method, 47 Excel Web Access (ewa), 131 236 INDEX F I FieldValuesAsText, 160 IF function, 218 Filter command, 147 iFrame control, 167, 168 FindTableElements function, 17, 18 iFrame text file Formatting rule, 212 Content Editor, 166 formCreatorAccountId variable, 176 Developer Tools, 168 InfoPath form, Submit button, 213 InfoPath services G approval levels, 173 GetListItems() REST method, 197 browser-enable form GetLocation() method, 47 templates, 172 getTime() method, 66 data connection, 174 Google Analytics data source, 174 active users, 227 error message, 172 SharePoint page, 234 Render form templates, 172 Tag manager, 233 Initialize Variables, 186, 187 tracking code, 228–230 IsBlank() function, 148 Google Tag Manager IsHtml property, 142 code, 231 isLevel1Approver rule, 180 creation, 230 IsMatch method, 137 debugging, 233 isOfficeMember variable, 194 link/click page, 232 isReadyToArchive variable, 186, 187 Graphical survey summary, 90 IsSelected property, 135 Items property, 150, 219 H hasCompletedLevel variable, J, K 188, 189 JavaScript/jQuery solution, 55 Help Tickets, 134, 156 JavaScript Object Model, 60 HintText property, 7, 137, 146 jQuery HTML iFrame, 126 addClass method, 19 HtmlText property, 155 CDN, 16 Hypertext Markup Language DateDiff function, 19 (HTML), 1, 24, 25 date display formatting, 12 237 INDEX jQuery (cont.) Power BI data source, 99 debugger tab, 19, 20 question type, 101 developer tools, 13, 19 rating question, 100 document.ready function, 17 survey section, 100 FindTableElements function, 17 Microsoft InfoPath, 173 HTML information, 13 ProcessImn function, 17, 18 N task lists, 11, 12, 14–16, 20 Navigate methods, 152 text file, 19 nested If condition, 137 UpdateDateDisplay function, 18 NewForm methods, 152 jQuery document.ready New Ticket form, 134 functionality, 64 NoSlotsMessage field, 213, 214, 221 jQuery UI Notify Original Requestor stage, 189 button() method, 28 Now() function, 148, 220 button sample page, 21 content editor, 26 dialog, 26, 27 O functionality and styling, 26 Office documents HTML element, 24, 25 classic page, 128 inline styles, 22 embed web part, 126, 127 JavaScript files, 23, 24 Excel padding, 22 embed code, 125, 126 skinnable widgets, 21 ewa, 131 window.open() method, 24 getActiveWorkbook method, 131 named parts, 123, 132 L Web Access web part, Level1Approved field, 185 129, 130 Level1ApproverName field, 178 Excel Online, 125 File viewer, 124, 125 Office Members list, 192 M Member Name query field, Microsoft flow, 85–87 195, 196 Microsoft forms SharePoint list, 193 238 INDEX Office 365 visualization/table, 162 account Power BI challenges conditional column, 161 Daily Check data, 112 people column, 160 expand rows, 109 admin button, 2 HTML data, 109 content editor, 1 HTML format, 106 onApplicationReady function, 131 IT Level, extract, 107 OnSelect event, 138 JSON data, 108 OnSuccess code, 152 matrix, 111 OR condition, 138 null data, 106 Page level filter, 113, 114 Parse–XML option, 109, 110 P replace values, 107 Page level filters, 163 results, Count, 110 Patch method, 141 results, Count (Distinct), 111 popupVisible local variable, 143 visualization, 115 PowerApps Yes/No data, 112, 114 description property, 8 ProcessImn function, 18 HintText property, 7 mobile application, 9 mode property, 7 Q SharePoint list, 5, 6 QueryApprovers data connection, Power BI, 89 177, 179 case study (see Remedy tickets) QueryClasses data Dissatisfied result, 95, 96 creation, 208 Edit Queries, 91 ID queryField, 209 Get Data, 90 location and capacity fields, 210 pie chart visualization, 93–95 published report, 97 record columns, 92, 93 R SharePoint modern page, 97 ReadClasses data, 206 SharePoint survey, 91 ReadLocation action rule, 210 visualization of tickets, 160 Remedy, 117, 118 239 INDEX Remedy tickets List experience, 183 BMC developers, 118 list, holding data, 101 CTM_People, 119 local variables, 186 HPD_HelpDesk, 120 PowerApps, 219 Power BI dashboards, 117, 118 Power BI, 103 Remedy forms, 118 queryFields, 177 SQL Server database, 119 Submit button, 181 status, 120, 121 template search, 101, 102 SubmitDateUSAFA, 120 Tracking ID, 228 WOI_WorkOrders, 120 workflow stage, 187 SharePoint File Viewer, 123 SharePointIntegration item, 222 S SharePoint page searchTerm parameter, 135 embed a page, 166 SearchUser method, 135 final result displaying, 169 SendEmail function, 142 HTML, 167 _serializeResponse function, 71 Show Resolved Tickets, 156, 157 SetApproverId rule, 176, 177 Stacked column chart, 164 SharePoint Standard Query Language (SQL), adding columns, 183 71, 177 Approver field, 175 StartsWith parameter, 146 Approver Type, 175 substring-after function, 182 archive functionality, 181 Surname properties, 136 Custom Approvers, 174 custom library columns, 185 data source, 134 T disabling, approval, 180 Technician application file name, 182 details screen, 149 flow to copy form, 102 new/edit screen, 150 formatting rule, 176 Text property, 135 FormTitle field, 182 ThisItem.Status.Value, 150 Google Analytics, 225 Ticketing system hyperlink, 189, 191 browse screen, 146 InfoPath, 172 Status drop-down box, 145 240 INDEX technician application, 149 userName() function, 176, 178, 194 writing ticket, 139 UsersGallery Visible property, 136 ticketStatusDefault variable, 154 Title columns, 30 today() function, 151, 193, 194 V Tooltips, 26, 164 Visual-level filter, 163 U W UpdateContext command, 143 window.open() method, 24 UpdateLevel1ApproverName window.setTimeout() function, 47 rule, 179 Update method, 150 UpdateToggle function, 83 X, Y, Z USAFAOperational class, 35 XML return value, 197 241.