Quantcast
Channel: Office 365 – SharePoint (and Project Server) Shenanigans
Viewing all 50 articles
Browse latest View live

Yammer Roadmap Session #msignite

$
0
0

A small post to go over the Yammer Roadmap session and to highlight the key parts.

New Features:

Single Sign On (Future)

A major investment coming soon is Single Sign On with the rest of Office 365.  You can already link your Active Directory accounts but currently Single Sign On is not implement.  Watch out for this feature soon.

External Messaging (Available Now)

You can now invite any external user into your Yammer conversations by simply adding their email address as part of your post (section at the bottom).

  • When you do this, a small yellow dot icon is next to the name to signify that it is external
  • The post button has a small globe next to it to show that it is now interacting with external users.

Once you post the message it appears in the external users yammer private message inbox (assuming they have one) and an email is sent to their inbox with the ability to sign up if they need to.

They can reply via email or via the yammer private message system.

The author of the conversation has the ability to take the external user out of the conversation at any point.  The private messages are deleted out of the users inbox and they can no longer reply.

If you wish, you can stop external messaging across your organizations Yammer tenant within Administration settings.

Compliance (Future)

Currently Microsoft is working hard to move Yammer into their own infrastructure and once it has done, compliance will be a priority.

Group Focus (Future – Coming Soon)

Improved focus on Groups within Yammer (not to be confused with Office 365 Groups)

  • Navigation for creation of groups as well existing groups has moved from the Top Navigation to the Side Navigation.
  • New users will be able to search for new groups as soon as they sign up, helping to improve the overall experience.

Delve Cards (Mostly available now / when Delve is in your tenant)

Watch for a different post on what Delve is… but in the meantime…

Yammer “signals” are built into the Delve boards, allowing you to start a discussion from any article or item that appears within Delve.

Next to the icon, notification counts show others discussing the item in Delve within Yammer (Please note this relies upon Single Sign On being implemented in the future)

image image

Mobile App Improvements (Coming Soon)

  • Notifications are being added to iOS and Android clients with swipe actions to take you straight into the discussion within the app
  • Inline @mentions within the discussion rather than a separate list at the bottom of the discussion post
  • Photo publisher within the app with annotation capability
  • New mobile experience and UI will surface important content first by group (with number of items not seen).  This is designed to ensure you always see the latest content without missing a thing!

image

Office 365 Group Sync (Far Future)

Towards the end of the session a number of people asked about integration with Office 365 Groups.  It was mentioned that this is in the road map but not timeline could be confirmed as they are working hard at bringing Yammer into the Microsoft infrastructure.



#O365 #SharePoint Online–Information Rights Management #IRM–what works, what doesn’t in a business context-Part 1

$
0
0

I know I said I would get to the new features of Document Management in SharePoint 2016, and the plan is still do to that… but at work I have come across the need to use IRM for one of my internal customers.  So without further ado…

The Scenario

Migrating a site with Restricted Confidential data from On-Premise to SharePoint Online.  Everything within the network is nice and secure requiring two factor authentication to connect to the VPN from a domain connected laptop.  It is nice and secure!  Couple that with strict password and domain communication policies, security within the network seems good.

Of course, now as a company we want to take advantage of the great savings offered by Office 365.  Office 365 doesn’t require a VPN to connect any more and suddenly the need for information rights management feels way more important than ever.

Multi Factor Authentication

So combat some of this, we can require multi-factor authentication to connect to the Office 365 tenant.  If you do this properly, then you will have a nice, unhindered experience within your corporate network and a multi-factor authentication login from outside your network.  (Please note you will need Microsoft Office 2013 as a client for outside your network).

This is all well and good but that doesn’t stop you logging into your personal PC and downloading the file using your corporate account.  That is where IRM comes in…

Information Rights Management (IRM)

header

As a brief overview, IRM essentially controls what a user can do in a client application regarding a document based on who they are logged in as and the group they belong to.

For Example:

Corporate Network

You have a protected Word document and you are authenticated inside your corporate network.  You have permissions to View, Print, Edit the file etc…

vs.

You have a protected Word document and you open the file on your personal computer.  You cannot View, Print or Edit the file regardless of how you received the file (link to a SharePoint site, an Email Attachment or perhaps via a USB drive).

Personal Computer


So ideally what we are looking for is this:

DeviceAllowance

And just so we know what I mean by the Red, Amber, Green symbols above…

DeviceAllowanceLegend


 

Guest Devices

Of course in this very modern bring your own device to work world, guest devices means a lot of different platforms and form factors.

  • iPhone
  • iPad
  • Android
  • Windows Phone
  • Windows RT (Maybe…)
  • Windows
  • Mac OSX
  • + others no doubt (blackberry for example…)
  • Thankfully, thanks to Microsoft view on being portable in this world is not tied to device, they have for the most part covered all devices with their Microsoft Office suite which fully covers IRM protection standards across the above listed platforms.

      However, in this changing world, there are always some caveats…  this series of articles will begin to discuss…

    Stay tuned for the next article when we talk about:

  • SharePoint specifics such as setup, file type support, unsupported file types…
  • What you can do about unsupported file types etc.

Useful links for learning…


#O365 #SharePoint Online–Information Rights Management #IRM–what works, what doesn’t in a business context-Part 2

$
0
0

This article is part of a series:

Part 1: https://spandps.com/2015/09/21/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-1/

In the first article of this series we discussed what IRM was, some scenarios and high level device supportability.

Let’s dig a bit deeper with what works in SharePoint Online:

Setup within SharePoint Online.

So I could talk about the Tenant Administration side of things but honestly, its not difficult, and these articles are more business focused.  If you are interested, take a look here:

https://support.office.com/en-us/article/Set-up-Information-Rights-Management-IRM-in-SharePoint-admin-center-239ce6eb-4e81-42db-bf86-a01362fed65c

Assuming you have Information Rights Management (IRM) turned on in your Office 365 tenant, you will have the following options in the settings of your lists and libraries:

image

Do not get confused with Information Management policy settings at the bottom, this is entirely different involving audit trails, bar coding etc.

Once you click, you get a screen as follows (pre-filled in for my example in this blog series)

image

Most of these are fairly self explanatory, but allow me to get into specifics on some of these items:

Set additional IRM library settings > Do not allow users to upload documents that do not support IRM

Seems, kind of vague and initial Google (Bing…) searches did not help me, after some digging however, we find something… only certain file types are supported within SharePoint:

  • PDF
  • The 97-2003 file formats for the following Microsoft Office programs: Word, Excel, and PowerPoint
  • The Office Open XML formats for the following Microsoft Office programs: Word, Excel, and PowerPoint
  • The XML Paper Specification (XPS) format

And in my further research, for Word, Excel and PowerPoint, your standard office suite has been supporting this capability since Microsoft Office 2003 on Windows and since Office for Mac 2011 on OSX.

But what about Multi-factor Authentication I hear you cry out…

Well that was supported in Office 2013 in an update around November 2014 (last year): https://blogs.office.com/2014/11/12/office-2013-updated-authentication-enabling-multi-factor-authentication-saml-identity-providers/

The end result of this is fairly painless to the user.  They upload unprotected files (that are supported).  SharePoint protects the files and when you open them from SharePoint, you get this:

image

Word opens the file, checks the RMS server for the permissions against the user opening the file and if you have the rights, you can see the document.

If you don’t have the rights, you get this:

image

Further Gotcha’s / Things we need to know: PDF Support

Essentially what we are seeing here is that we need to have a level of support for IRM in both the server (to set the policy) and on the client (to enforce the policy)

As stated above, Microsoft Office has been supporting this in some form since 2003 for Windows and 2001 for the Mac.

On the Adobe Reader side of things, it is a little different.

Adobe Reader does not support IRM protected PDF’s unfortunately and when you try you get this response:

image

So for the well initiated or hacker minded, I know what you are thinking… Microsoft Word can open PDF’s… what happens then:

Well they thought of everything:

image

Thankfully you can use some alternative PDF Readers.  Here is the run down on supportability:

image

Foxit Reader (Free) does display the PDF but with a suggestion that you should buy the RMS plugin:

image

I can confirm that you can view the whole document with the free product with the IRM restrictions in place.  However the watermark shown above appears on every page.

Lastly, just to confirm the security Foxit supports for IRM PDF files:

image

Further Gotcha’s / Things we need to know: Other / Unsupported File Types

If you attempt to upload a file that is unsupported, you get the following message from SharePoint.

image

File Type Conclusions

So bottom line is, if you need to protect Word, Excel & PowerPoint files than this solution provides a way to protect content without much trouble to the end user.

If you want to use PDF files as well then you will need to use Fixit or NitroPDF on Windows and unfortunately for OSX, it won’t be supported.

Lastly, all examples so far shown are using a standard custom list with attachments.  The functionality in a document library is the same in 99% of cases.

The Next Post

As I look further and further into this topic, more and more questions are unraveling.  In the next post(s), I shall be exploring:

  • What happens when we use Windows Explorer view with a document library?
  • How does the Microsoft RMS plugin help us for unsupported file types?

I am sure there will be more questions as I look further, but as this is a pressing concern for my company, you will see more posts soon.  Till the next time…

Useful Links:

Microsoft Office Compatibility (older information): https://technet.microsoft.com/en-us/library/dd772650(v=ws.10).aspx

Microsoft Office 2007 IRM support: https://support.office.com/en-ca/article/Information-Rights-Management-in-the-2007-Microsoft-Office-system-afd5c5a9-e6fb-4ce7-b24c-eadcc9ee3fe8

Microsoft Office 2003 IRM support: https://support.office.com/en-au/article/Information-Rights-Management-in-Microsoft-Office-2003-495d2755-3c0d-44fb-9fcd-451c1c0e8c9e

Microsoft Office 2013 MFA Support: https://blogs.office.com/2014/11/12/office-2013-updated-authentication-enabling-multi-factor-authentication-saml-identity-providers/


#O365 #SharePoint Online–Information Rights Management #IRM–what works, what doesn’t in a business context-Part 3

$
0
0

This article is part of a series:

In the first article of this series we discussed what IRM was, some scenarios and high level device supportability.

Part 1: https://spandps.com/2015/09/21/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-1/

In the second article we covered file type support.

Part 2: https://spandps.com/2015/09/22/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-2/


Welcome to the third article in this series about the IRM implementation in SharePoint.  This post will be mostly focusing on how Windows Explorer interacts with Document Libraries with IRM enabled.

The Scenario

We are maintaining the same settings as the previous two articles, but using a document library instead of a list. 

image

As stated previously, behavior is the same but of course with a document library you can interact with it via Windows Explorer, drag and drop, in application via Word etc. as well as the standard upload process.  Let’s see if it maintains the protection that we have put in place…

To recap the supported file types:

  • Word, Excel, PowerPoint 2003 to 2016
  • PDF

Now as part of my ongoing research I have found mentions of XPS and InfoPath as well, so we shall give those a go as well.

In these tests I shall try all variants of the files for doc to docx and the macro and template versions in between.

Also unlike the previous articles I shall widen the uploads to include Excel and PowerPoint in the examples.

So without further ado…

Standard Upload

  • Supported File Type (Word, Excel, PowerPoint, PDF, XPS,)
  • Unsupported File Type (PNG, InfoPath)
    From my standard upload testing the results are as follows:

image

Document Library Screenshot:

image

XPS files uploaded fine and were protected by SharePoint IRM however, my client was not configured and could not access the IRM server in my setup.

Furthermore, I got this result when trying to open a protected XPS in the browser (IE11):

image

The client result was:

image

PS. I found that InfoPath was not supported in SharePoint Online (as of 2015-09-23 – not surprising given that it is not part of Office 2016 anymore.  (Office 2016 was released this week by the way – yay Smile)

Drag and Drop

In true scientific experiment fashion, same files, different upload method…

  • Supported File Type (Word, Excel, PowerPoint, PDF, XPS,)
  • Unsupported File Type (PNG, InfoPath)
    For this I shall be using the drag and drop capability that was introduced in SharePoint 2013 and is still available in 2016.  I shall drag and drop all files (supported and unsupported at once)

It is good to say that the result is the same as the standard upload method and the error messages it returns for unsupported file types make sense.

 

image

Just remember the issues with XPS I experienced this time round and the PDF IRM supportability issues from the last post are still present in the document library.  See Part 2 for details.

Windows Explorer

One more time around…same files, different upload method…

  • Supported File Type (Word, Excel, PowerPoint, PDF, XPS,)
  • Unsupported File Type (PNG, InfoPath)

Like the drag and drop method to the document library I shall be dragging all files into the Windows Explorer view that opens up when you click this button on the library ribbon:

image

Dragging the files into Windows Explorer view… in progress:

image

So everything was going will until I got to the unsupported files:

image

So as you would expect, it definitely stopped the file getting into the library as you would expect.  You have the option to skip the file which moves on to the next file and processes it based on the same rules.

The good news is, we have stayed in compliance!

The bad news is that error message:

An unexpected error is keeping you from copying the file.  If you continue to receive this error, you can use the error code to search for help with this problem.

Error 0x80070021: The process cannot access the file because another process has locked a portion of the file.

Now as a techy, I would totally expect that error from Windows Explorer… after all, it doesn’t know what SharePoint is, it just knows that it has failed.

From a business user perspective, this is confusing and will no doubt start calls to the help desk.  The help desk may not know the answer either and it will result in an escalated call to the SharePoint Admins / Operations teams.

Not much to be done, but adds credence as to why I am blogging on this subject.  Hopefully some google’rs / bing’rs will find this post and have a bit more information about what could be going on.

Conclusions

So there you have it, whatever way you get files in, it works… I can confirm that in each case, opening the files showed that they were protected with IRM.  Windows Explorer for unsupported files is a bit messy but not surprising.

Next Post(s)

  • I will eventually get to how to deal with unsupported file formats with the desktop RMS client but as I dig deeper, more and more topics become more appropriate to discuss
  • IRM permissions vs. SP Library permissions
  • Client Experience – Protect & Unprotected…
    Anyway, till the next one…  stay SharePointin’

#O365 #SharePoint Online–Information Rights Management #IRM–what works, what doesn’t in a business context-Part 4

$
0
0

This article is part of a series:

In the first article of this series we discussed what IRM was, some scenarios and high level device supportability.

Part 1: https://spandps.com/2015/09/21/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-1/

In the second article we covered file type support.

Part 2: https://spandps.com/2015/09/22/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-2/

In the third article we covered file type support in detail as well as the document library experience.

Part 3: https://spandps.com/2015/09/23/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-3/


So we have talked about what IRM in SharePoint is, file type support and limitations, document library experiences etc. lets get down to permissions.  What can you restrict…

A good place to start is here: https://support.office.com/en-us/article/Apply-Information-Rights-Management-to-a-list-or-library-3bdb5c4e-94fc-4741-b02f-4e7cc3c54aa1

To quote specifically from the site:

How IRM can help protect content

IRM helps to protect restricted content in the following ways:

  • Helps to prevent an authorized viewer from copying, modifying, printing, faxing, or copying and pasting the content for unauthorized use
  • Helps to prevent an authorized viewer from copying the content by using the Print Screen feature in Microsoft Windows
  • Helps to prevent an unauthorized viewer from viewing the content if it is sent in e-mail after it is downloaded from the server
  • Restricts access to content to a specified period of time, after which users must confirm their credentials and download the content again
  • Helps to enforce corporate policies that govern the use and dissemination of content within your organization


How IRM cannot help protect content

IRM cannot protect restricted content from the following:

  • Erasure, theft, capture, or transmission by malicious programs such as Trojan horses, keystroke loggers, and certain types of spyware
  • Loss or corruption because of the actions of computer viruses
  • Manual copying or retyping of content from the display on a screen
  • Digital or film photography of content that is displayed on a screen
  • Copying through the use of third-party screen-capture programs
  • Copying of content metadata (column values) through the use of third-party screen-capture programs or copy-and-paste action

So seems pretty straight forward and of course this applies to the file types mentioned in the previous posts on this subject.

  • Word
  • Excel
  • PowerPoint
  • XPS

Interestingly, this Microsoft article mentions InfoPath but at the time of writing for this article, that did not appear to be the case in SharePoint Online (2015-09-23)

At the bottom of the article is starts talking about how list / library permissions compare to IRM permissions.  Again to quote from the site (just for completeness):

image

So I hear what you are saying… come on Giles… now you are just copying content from a web site and re-purposing it.  To a degree that is true… but lets put the above into something that makes more sense to the standard Business User that doesn’t really know what permission levels mean etc.

So we can essentially translate the above to the following:

image

Now it makes a bit more sense.

So lets get some users together in these groups and see what effect that has on the IRM permissions when you open a document…

Owner:

So we can see as an owner of the site, I own the document and have full permissions to Copy, Print, Save, Export etc.

If you notice, I also have no expiry on this document either.  Which means downloading the document offline means that the permissions will stay with me as long as I am on a domain controlled PC logged in as the user mentioned in the pop up.

image

Member:

As a member, we can View, Edit, Copy, Print and Save.  This makes sense since as a member you are likely to be creating documentation in the first place.

image

Remember you can also control who can see versions of documents within SharePoint as well as the ability to control if you can only see your only content.

You can find these configurations in the Library Settings under Versioning Settings:

image

So what we are seeing here is IRM permissions layered on top of SharePoint’s standard permissions working hand in hand!

Also notice that the expiry for these permissions come into effect on Thursday, September 24, 2015.  At this point, the document (if it is offline from SharePoint), will be entirely locked down, even if you are authorized and you would have to go back to the source library to get a new copy.

When something has expired, this is what you see in the application:

image

Visitor:

Lastly, as a Visitor to my site, you can only view the document.  Now as mentioned earlier, it does not control any other application.  So you could still print screen potentially or use a tool like Snag It to capture the information.  The rules below only pertain to the application implementing the IRM rights.

image

Conclusions

On a high level, it would appear IRM really comes into its own when you want to prevent your content from leaving the organization.  It stops the content being shown to unauthorized users and since this is implemented at a file level, USB drives and Email Attachments cannot circumvent the protection in place.

However, at the end of the day, if you have an authorized user that wants to be malicious then they can open the documentation, copy the content from the screen and re-produce it in an un-protected form.  So just to confirm, this isn’t a magic bullet to solve all your IP protection woes and lets not forget, content is created in an unprotected form first and is only protected once it is uploaded into SharePoint.

Next Post(s):

  • The Client Experience. Windows, OSX (if I can find a mac), Mobile, Web – you name it, I will endeavor to try it
  • Unsupported Files – A look at the desktop RMS client and how that works with SharePoint

Useful Links:

Apply IRM to a list or library: https://support.office.com/en-us/article/Apply-Information-Rights-Management-to-a-list-or-library-3bdb5c4e-94fc-4741-b02f-4e7cc3c54aa1


#O365 #SharePoint Online–Information Rights Management #IRM–what works, what doesn’t in a business context-Part 5

$
0
0

This article is part of a series:

In the first article of this series we discussed what IRM was, some scenarios and high level device supportability.

Part 1: https://spandps.com/2015/09/21/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-1/

In the second article we covered file type support.

Part 2: https://spandps.com/2015/09/22/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-2/

In the third article we covered file type support in detail as well as the document library experience.

Part 3: https://spandps.com/2015/09/23/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-3/

In the fourth article we covered IRM permissions in comparison with SharePoint permissions.

Part4: https://spandps.com/2015/09/24/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-4/


Ok, next up is the client experience.  We all work in a connected world with multiple devices from mobile to desktop to web.

Let’s take a look at the experience people get across the various devices.  The devices I shall be looking at are:

  • Windows
  • Mac OSX
  • iOS – iPhone
  • iOS – iPad
  • Android
  • Windows Mobile
  • Web

For this test, I have a Word document which had its IRM rights applied last week with an expiry set to 1 day.

This is an example of the settings I am using against my list:

image

So without further ado:

Windows – Microsoft Word 2016

As per Word 2013 on windows, Word 2016 asks you to login to your work account to proceed.

image

Windows – Microsoft Word 2013

As we showed in earlier posts – expired content asks for it to be re-authenticated when off the network where the document came from.

image

Interestingly, if you are already on the same network, it re-authenticates in the background and it just opens the document.

Windows – Microsoft Word – Universal App

Now that we have Windows 10 upon us and the new rules around the Microsoft Office Mobile Apps being free (screens 10.1” or under), this feels likes a perfect opportunity to try this out on my HP Stream 7 running Windows 10 with the Microsoft Word Universal App.

As you can see, it recognizes the file and is prompting for the credentials to open the file!  Editing is not supported yet, but with the appropriate credentials it can call home and you can view the content.

Capture

Windows – Word Pad

The hacker in me likes to try other, non-standard avenues… WordPad doesn’t know what to do with the document…

image

Windows – Open Office

OpenOffice (Apache Foundation – 4.1.1 – latest) doesn’t know what to do either.  It doesn’t recognize the file format.

image

Windows – Libre Office

Libre Office, also based on Open Office, opens the file and it appears corrupted.  You cannot tell any of the original contents.

image

Mac OSX – Microsoft Word 2016

With the 2016 revision you can see it fully recognizes the file format and gives the ability to login with your work account!

clip_image001

Mac OSX – Word 2013

In Word 2013 on the Apple Mac, we can see that the document is protected but we do not have the ability to open with our work account.

image

iOS iPhone – Microsoft Word

Word on the iPhone supports IRM protection and in this scenario, I was off the network using my non-company account.

As you can see, it tries to load, tells me there’s a problem and states that it is under rights management.  Exactly the experience you would hope for from the Microsoft suite of applications.

I suspect a future release will expand on this area.

IMG_1685 IMG_1686 IMG_1687

iOS iPhone – Documents Free (Mobile Office Suite)

No support for IRM on a free MS Word alternative on the App Store.  Further proving that the protection is in the file as expected!

image

iOS iPad – Microsoft Word

As per the iPhone app, we get the same experience.  In a future release I suspect we will see a more expansive feature set when it comes to IRM.

image

iOS iPad – Documents Free (Mobile Office Suite)

No support for IRM on a free MS Word alternative on the App Store.  Further proving that the protection is in the file as expected!

IMG_0136

Android – Microsoft Word

As you can see, the Android version of Office also supports IRM in terms of detection, but not in terms of opening or editing.  I suspect this will appear in a future release.

image

Windows Mobile 8.1 – Microsoft Word

As we can see, Word on Windows Mobile as expected doesn’t open the protected file, but rather than recognizing that it is protected with IRM, we get this…

image

Web – Office Online – Microsoft Word

Office Online understands that it is protected by IRM and stops access.

image

Interestingly however you cannot edit IRM protected documents online, which means you have to use the desktop application to update the documents.

You get a clue when you try to preview the document from within the library:

image

Then when you open it in Word Online, you have no option to edit:

image

From a usability point of view, I will be recommending to my users to always ensure that this setting is enabled to avoid confusion:

image

This will stop the preview of the document showing and it will only open in Microsoft Word

Web – Google Docs

We just get an unknown error from Google Docs…

image

Conclusions

So there you have it.  Although this doesn’t consider all applications, it covers most common and some uncommon applications across the majority of platforms (Sorry Blackberry users… just didn’t have the platforms around to test.).

It is fair to say that whether the application supports the SharePoint implementation of IRM or not, you are protected.  It is also fair to say that really you should limit your experience of updating files to the Microsoft Office suite.

To summarize the above findings; take a look at the table below:

image

Although I focused on the Word application in this post, Excel and PowerPoint on the core platforms (Windows, Apple OSX) work in the same way.

We are assured that the mobile apps that Microsoft produce for iOS, Android and Windows Mobile will support IRM properly soon, but no timeline has been given at the time of writing for this article.  (Please note we will be looking at Azure RMS support in the next few articles where mobile capabilities are available with latest releases)

Next Post(s)

I think we have covered the SharePoint IRM enough… Let’s take a look at Microsoft RMS (Rights Management Server) in Azure next.  It is a similar technology but not the same as IRM (Information Rights Management).

After we have had a look at that, I’ll compare and contrast against my scenarios here at work!

Till the next time… stay nerdy!


#SP2013 App Model–Tenant Administrator permissions required to install app On-Premise

$
0
0

A very quick post to say that I am testing out an application given to me by another development team within my company that needs to contact multiple site collections and the user profile service.

It complains once the app is in the app catalog that you need to be a tenant administrator to install (Error Message: Sorry, only tenant administrators can add or give access to this app).  This term makes sense in a tenant based environment (where this app was developed in Office 365)… but on-premise, unless you have set it up, the idea of a tenant doesn’t exist!

image

So what do we do… Well thanks to this blog:

http://www.chrisweldon.net/blog/2013/04/30/sorry-only-tenant-administrators-can-add-this-app/

The answer is to make the user or install the app as the farm admin.  The result is we can install and we can go on our merry way with the rest of the implementation.

image

Now I suspect there is a way to do it with less permissions as suggested in the comments of the article above.  However, for my purposes of testing this in a PILOT environment in the office, it will do.

Till the next time… keep SharePointin’’


#O365 #SharePoint Online–#IRM #RMS – what works, what doesn’t in a business context-Part 6

$
0
0

This article is part of a series:

In the first article of this series we discussed what IRM was, some scenarios and high level device supportability.

Parts 1 to 5 discuss IRM capability from a SharePoint perspective.  Details:

Part 1: https://spandps.com/2015/09/21/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-1/

In the second article we covered file type support.

Part 2: https://spandps.com/2015/09/22/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-2/

In the third article we covered file type support in detail as well as the document library experience.

Part 3: https://spandps.com/2015/09/23/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-3/

In the fourth article we covered IRM permissions in comparison with SharePoint permissions.

Part4: https://spandps.com/2015/09/24/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-4/

In the fifth article we looked at the different clients across Windows, Mac and Mobile to see how they reacted to a protected file.

Part 5: https://spandps.com/2015/10/03/o365-sharepoint-onlineinformation-rights-management-irmwhat-works-what-doesnt-in-a-business-context-part-5/


So we have covered the SharePoint IRM capabilities a lot and in the conclusion to this series of articles, we shall discuss the various merits of the IRM implementation in SharePoint vs. AD RMS capabilities.

Before we do that however, we need to discuss Azure AD RMS (Active Directory Rights Management Server.

To put things into context, SharePoint IRM is essentially a subset of the functionality of Azure AD RMS (Source(s): https://technet.microsoft.com/en-us/magazine/2009.04.insidesharepoint.aspx?pr=blog, https://social.technet.microsoft.com/forums/windowsserver/en-US/d5c64cfe-0778-4a3b-a02e-4eae3ca9ac43/what-is-difference-between-ad-rms-and-irm) and in my initial interaction, the two capabilities don’t quite interact with each other in the way you would expect (the very reason this series of articles started in fact!)

Let’s get started….

What is Azure RMS?

So my biggest suggestion to answer this would be to take a look at these set of articles:

High level… like the SharePoint IRM O365 solution we have been looking at in the previous articles, it would appear that Azure RMS is a superset of the SharePoint IRM functionality.  By this I mean that Azure RMS is the overriding technology and SharePoint IRM is a small portion of the overall capability.

How does it work with standard office files?

Take a look at this article:

Which gives us a good indication of the potential support for this solution but is the reality for users… lets take a look:

Microsoft Office Interaction (Desktop)

After you install the Azure RMS client application in Windows or Mac OSX, you have an add-in added to your Microsoft Office suite like this:

image

By clicking on Share Protected the following screen pops up with various options including:

  • Policy selection (standard ones and corporate specific setup by your company)
  • Expiration of the permissions which will lock down the document once the date has passed
  • Document tracking notifications via email
  • Ability to revoke permission as required.

image

    You can target these permissions to specific user email address and the address entered can have blacklists (for example outlook.com etc.)

image

 

Once you click send, this pops up as it works its protection voodoo magic:

image

Then outlook pops up with a pre-formatted message with not just a Word document but also a Protected PDF also!  (This is also the case with the add-in for Excel and PowerPoint)

If you do this same option from within an Outlook email.  You must have an attachment on the email, it will then run through the same process, create a Protected PDF as well and send the email.

image

The Microsoft Azure RMS service also sends you a follow up email straight away with confirmation of who you sent it to and details on how to track and revoke access:

image

Clicking on the tracking link gives you an overview of the document, with tracking details and the ability to control the access.

image

From this screen you can see who has access currently, when  (Timeline) & Where (Map) they accessed the document.  Settings also controls your notifications.

At the bottom of the screen you can get an excel report of the activity on the document as well as the ability to revoke access.

How does it work with file formats outside of Microsoft Office?

For any other file type, extensions to Windows Explorer have been added in the right click context menu of the file(s) selected.  Just to note, you cannot protect a folder.

image

Once you select the permission type, the file is protected in place.

If you select Custom Permissions… the same dialogue appears as before whilst we were in the MS Office application allowing you to select permissions and notification options.

Now, because you are protecting a file that may not have built in support for the Azure RMS capabilities, as part of the client install for Azure RMS, you have a file viewer.

So for the Yammer Logo png that we have above, we get the following when we double click the protected file:

image

As you can see, it has changed the file extension to a ppng file type and now Windows opens it inside the Microsoft Rights Management viewer.  I wrapper if you will that will check the file permissions centrally within Azure RMS before you can open the file.

How can I get this capability – Server Setup?

Start by looking here: https://technet.microsoft.com/en-us/library/dn440580.aspx

Essentially you login to your tenant admin and you can choose to use Microsoft’s security keys and activate the service.

How can I get this capability – Client Setup?

The Office add-in and the Windows Explorer options are installed using a free client available here: https://portal.aadrm.com/home/download

Next Post(s)

Ok, these posts appear to get very long as I start to delve into things… so we are splitting things up further…  next up, we shall explore the permission options including revoking access to documents from a central location.

We will also, in a future post compare this solution with the SharePoint IRM capability, which we know is related but in my brief experience is not necessarily the same!

So until I find time to do the next post… stay nerdy peeps!



OneDrive for Business – Configurable Retention Period for Orphaned OneDrives!

$
0
0

Hello again! It’s a well-known fact in On-Premise SharePoint world that ever since SharePoint 2010, My Site Clean Up Timer Job is set up 14 days before the MySite is deleted, and there’s nothing you can do about that other than disable the timer job and/or write your own timer job. Matter of fact, I recall countless SP conferences recommending you disable this timer job and handle retention via custom process where you have more visibility and control. In SharePoint Online world, this was changed to 30 days and if you’re like me and have corporate retention policies that are longer than 30 days, you would have to go thru series of workarounds to extend the retention period by leaving the Office 365 account active one way or another.

Well let me tell you that the days of that for SharePoint Online are gone now! I was surprised to see that the May 2016 release of the SharePoint CSOM (v 16.1.5312.1200) introduced ad new property called OrphanedPersonalSitesRetentionPeriod that allows you to get or set the default retention days to OneDrive for Business sites. Even better, the values can be set between 30 to 3650. That’s measured in DAYS! Which means max value is 10 years!!

I’m glad Microsoft has added this option as it now gives a lot of flexibility for organizations to ensure OneDrive retention meets their corporate retention policies.

Easiest way to change the retention is via SharePoint Online PowerShell commands:
…and you can download the latest SharePoint Online PowerShell from here

#Connect to SharePoint Online Admin (change URL to your SPO tenant Admin URL)
Connect-SPOService -Url http://bit.ly/2bkvM95-Credential (Get-Credential)

#Set Retention period – change the value of ‘3650’ to value you prefer
Set-SPOTenant -OrphanedPersonalSitesRetentionPeriod 3650

#Run the following command to confirm value has been applied
(Get-SPOTenant).OrphanedPersonalSitesRetentionPeriod

Here are some links to where you can find out more about this:

Good luck!

The post OneDrive for Business – Configurable Retention Period for Orphaned OneDrives! appeared first on blog about technology….

from blog about technology… http://bit.ly/2bkvHCr

Jin Kang
I am an ECM Solutions Architect with over 7 years of experience envisioning, architecting, and implementing enterprise solutions using various technologies including Azure, Office 365, and SharePoint.

Currently I work at ConocoPhillips, providing problem resolution capabilities for systemic environment faults and outages, assist with automating and improving operational process, and collaborate with Operations and Support teams to evaluate, design, and introduce technologies to solve real business problems. I also provide subject matter expertise support to customers.

This article has been cross posted from jinkang.us (original article)


Microsoft Releases SharePoint Framework Developer Preview!

$
0
0

Microsoft just made the SharePoint Framework Developer Preview available via GitHub which was originally announced back in May 2016.  Please see the links below for more details:

Dev Center announcement: http://bit.ly/2bAkSKC
GitHub repository: http://bit.ly/2bq2ENg

The post Microsoft Releases SharePoint Framework Developer Preview! appeared first on blog about technology….

from blog about technology… http://bit.ly/2bAkmMJ

Jin Kang
I am an ECM Solutions Architect with over 7 years of experience envisioning, architecting, and implementing enterprise solutions using various technologies including Azure, Office 365, and SharePoint.

Currently I work at ConocoPhillips, providing problem resolution capabilities for systemic environment faults and outages, assist with automating and improving operational process, and collaborate with Operations and Support teams to evaluate, design, and introduce technologies to solve real business problems. I also provide subject matter expertise support to customers.

This article has been cross posted from jinkang.us (original article)


Export Lists Schema to XML using CSOM and PnP

$
0
0

I had to automate deployment of lists and libraries into different environments, e.g. on premises and online.

There are different elements to consider when deploying lists or libraries namely

– List Properties

– List Content Types

– Views

– Fields

I could have written a configuration file in xml manually to specify the details above. Instead I have decided to configure lists and libraries from a SharePoint 2013 On Premises Dev environment and export the list schemaXML property to a XML file. The list’s SchemaXML property is not accessible using SharePoint CSOM assemblies. Instead a remote procedure call using HTTP Get request  has to be executed.

http://Server_Name/[sites/][Site_Name/]_vti_bin/owssvr.dll?Cmd=ExportList&List=GUID

I am interested only in custom lists, I have built a list of out of the box lists/libraries which do not need to be exported, i.e. _catalogs,Lists/ContentTypeSyncLog,/IWConvertedForms,FormServerTemplates,Lists/PublishedFeed,/ProjectPolicyItemList,SiteAssets,SitePages,Style Library,Lists/TaxonomyHiddenList.

I have used the PnP PowerShell commands

  •  To connect to SharePoint

Connect-SPOnline -Url $SiteUrl -CurrentCredentials

  •  To retrieve all lists
$SPOLists = Get-SPOList

Download SharePointPnPPowerShell2016.msi from http://bit.ly/2f1PeJp to use PnP PowerShell Commands.

After all the lists are retrieved, if the list is not in the exclusions criteria, its schemaXML is downloaded using HTTP get request with URL and to XML file.

$ListSchemaUrl = “$SiteUrl/_vti_bin/owssvr.dll?Cmd=ExportList&List={” + $list.Id.ToString() + “}”;

The script can be downloaded from technet gallery

 Param( 
 [Parameter(Mandatory=$true)] 
 [string]$SiteUrl, 
 [Parameter(Mandatory=$false)] 
 [string]$XMLListsFileName = "SiteLists.xml" 
 ) 
##OOB SharePoint Lists to exclude from Export 
 $ListsNameToExclude  = "_catalogs,Lists/ContentTypeSyncLog,/IWConvertedForms,FormServerTemplates,Lists/PublishedFeed,/ProjectPolicyItemList,SiteAssets,SitePages,Style Library,Lists/TaxonomyHiddenList"   
 $ArrayListtoExcl = $ListsNameToExclude.Split(",");  
Set-Location $PSScriptRoot 
 
function LoadAndConnectToSharePoint($url) 
{ 
  ##Using PnP library 
  Connect-SPOnline -Url $SiteUrl -CurrentCredentials 
  $spContext =  Get-SPOContext 
  return $spContext 
} 
 
$Context = LoadAndConnectToSharePoint $SiteUrl 
 
$SPOLists = Get-SPOList 
$PathToExportXMLSiteLists = $PSScriptRoot 
 
$xmlFilePath = "$PathToExportXMLSiteLists\$XMLListsFileName" 
 
 #Create Export Files 
 New-Item $xmlFilePath -type file -force 
 
 #Export Site Columns to XML file 
 Add-Content $xmlFilePath "<?xml version=`"1.0`" encoding=`"utf-8`"?>" 
 Add-Content $xmlFilePath "`n<Lists>" 
 
foreach($list in $SPOLists) 
{ 
  $exclude = $false; 
  foreach($lsEx in $ArrayListtoExcl) 
  { 
   if($list.DefaultViewUrl -match $lsEx) 
   { 
    $exclude =$true; 
    break; 
   } 
  } 
  if($exclude  -eq $false) 
  { 
    $ListSchemaUrl = "$SiteUrl/_vti_bin/owssvr.dll?Cmd=ExportList&List={" + $list.Id.ToString() + "}"; 
    $listSchemaXML = Invoke-WebRequest -Uri $ListSchemaUrl -UseDefaultCredentials 
    Add-Content $xmlFilePath $listSchemaXML; 
  } 
} 
Add-Content $xmlFilePath "</Lists>" 
 
 

Provide the siteURL (url of the SharePoint site from which you want to export list definitions) parameter value and optionally provide the XMLListsFileName (name of te XML file to store the list schema) parameter value.

The output of running the script is as below.

To create lists/libraries using the XML config file, refer to tech net article Create Lists Libraries from Schema as XML using CSOM

<?xml version="1.0" encoding="utf-8"?> 
 
<Lists  <List Name="{999137BC-274B-4F74-AF93-BA1068806BEE}" Title="Documents" Description="" Direction="0" BaseType="1" FeatureId="{00BFEA71-E717-4E80-AA17-D0C71B360101}" SendToLocation="|" ServerTemplate="101" Url="Shared Documents" DisableAttachments="TRUE" EnableContentTypes="TRUE" NavigateForFormsPages="TRUE" BrowserFileHandling="permissive" Version="7"    <MetaData      <Views        <View Name="{B6022AAF-88E4-4DA2-BECC-416178FC8ABB}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Documents" Url="Shared Documents/Forms/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilename"/> 
            <FieldRef Name="Modified"/> 
            <FieldRef Name="MigrationSourceURL"/> 
            <FieldRef Name="Level0"/> 
            <FieldRef Name="Level1"/> 
          </ViewFields> 
          <ViewData/> 
          <Query            <OrderBy              <FieldRef Name="FileLeafRef"/> 
            </OrderBy> 
          </Query> 
          <Aggregations Value="Off"/> 
          <RowLimit Paged="TRUE">30</RowLimit> 
          <Mobile MobileItemLimit="3" MobileSimpleViewField="LinkFilename"/> 
          <XslLink>main.xsl</XslLink> 
          <JSLink>clienttemplates.js</JSLink> 
          <Toolbar Type="Standard"/> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
        </View> 
        <View Name="{43D7A4A0-85DC-4BAF-A317-1B7114C80E2B}" Type="HTML" Hidden="TRUE" TabularView="FALSE" DisplayName="Merge Documents" Url="Shared Documents/Forms/Combine.aspx" Level="1" BaseViewID="7" ContentTypeID="0x" ToolbarTemplate="MergeToolBar" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <XslLink>main.xsl</XslLink> 
          <Query            <OrderBy              <FieldRef Name="FileLeafRef"/> 
            </OrderBy> 
          </Query> 
          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilename"/> 
            <FieldRef Name="Combine"/> 
            <FieldRef Name="Modified"/> 
            <FieldRef Name="Editor"/> 
          </ViewFields> 
          <RowLimit Paged="TRUE">30</RowLimit> 
          <JSLink>clienttemplates.js</JSLink> 
          <Toolbar Type="Standard"/> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
        </View> 
        <View Name="{9E9F7CB8-CBC6-44DC-92E7-E43231556A9D}" Type="HTML" Hidden="TRUE" TabularView="FALSE" DisplayName="Relink Documents" Url="Shared Documents/Forms/repair.aspx" Level="1" BaseViewID="9" ContentTypeID="0x" ToolbarTemplate="RelinkToolBar" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <XslLink>main.xsl</XslLink> 
          <Query            <OrderBy              <FieldRef Name="FileLeafRef"/> 
            </OrderBy> 
            <Where              <Neq                <FieldRef Name="xd_Signature"/> 
                <Value Type="Boolean">1</Value> 
              </Neq> 
            </Where> 
          </Query> 
          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilenameNoMenu"/> 
            <FieldRef Name="RepairDocument"/> 
            <FieldRef Name="Modified"/> 
            <FieldRef Name="Editor"/> 
            <FieldRef Name="ContentType"/> 
            <FieldRef Name="TemplateUrl"/> 
          </ViewFields> 
          <RowLimit Paged="TRUE">30</RowLimit> 
          <Toolbar Type="Standard"/> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
        </View> 
        <View Name="{086F7F40-F379-43C8-97DD-618EF9E7B0E1}" Type="HTML" Hidden="TRUE" DisplayName="assetLibTemp" Url="Shared Documents/Forms/Thumbnails.aspx" Level="1" BaseViewID="40" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <Query            <OrderBy              <FieldRef Name="LinkFilename"/> 
            </OrderBy> 
          </Query> 
          <ViewFields            <FieldRef Name="LinkFilename"/> 
          </ViewFields> 
          <RowLimit>20</RowLimit> 
        </View> 
        <View Name="{952ADDDF-B3F3-4FC9-A676-457BF6FAB561}" Type="HTML" Hidden="TRUE" DisplayName="" Url="SitePages/Home.aspx" Level="1" BaseViewID="50" ContentTypeID="0x"          <XslLink Default="TRUE">main.xsl</XslLink> 
          <JSLink>clienttemplates.js</JSLink> 
          <RowLimit Paged="TRUE">15</RowLimit> 
          <Toolbar Type="Standard"/> 
          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilename"/> 
          </ViewFields> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
          <Query            <OrderBy              <FieldRef Name="Modified" Ascending="FALSE"/> 
            </OrderBy> 
          </Query> 
        </View> 
      </Views> 
      <Fields        <Field ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" ColName="tp_ID" RowOrdinal="0" ReadOnly="TRUE" Type="Counter" Name="ID" DisplayName="ID" SourceID="http://bit.ly/2evXbnJ" StaticName="ID" FromBaseType="TRUE"/> 
        <Field ID="{03e45e84-1992-4d42-9116-26f756012634}" RowOrdinal="0" Type="ContentTypeId" Sealed="TRUE" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Content Type ID" Name="ContentTypeId" DisplaceOnUpgrade="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="ContentTypeId" ColName="tp_ContentTypeId" FromBaseType="TRUE"/> 
        <Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="ContentTypeId"/> 
          </FieldRefs> 
          <DisplayPattern            <MapToContentType              <Column Name="ContentTypeId"/> 
            </MapToContentType> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" ColName="tp_Created" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Created" DisplayName="Created" StorageTZ="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Created" FromBaseType="TRUE"/> 
        <Field ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" ColName="tp_Author" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Author" DisplayName="Created By" SourceID="http://bit.ly/2evXbnJ" StaticName="Author" FromBaseType="TRUE"/> 
        <Field ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" ColName="tp_Modified" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Modified" DisplayName="Modified" StorageTZ="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Modified" FromBaseType="TRUE"/> 
        <Field ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" ColName="tp_Editor" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Editor" DisplayName="Modified By" SourceID="http://bit.ly/2evXbnJ" StaticName="Editor" FromBaseType="TRUE"/> 
        <Field ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" ColName="tp_HasCopyDestinations" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Boolean" Name="_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" SourceID="http://bit.ly/2evXbnJ" StaticName="_HasCopyDestinations" FromBaseType="TRUE"/> 
        <Field ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" ColName="tp_CopySource" RowOrdinal="0" Sealed="TRUE" Hidden="FALSE" ReadOnly="TRUE" Type="Text" Name="_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" SourceID="http://bit.ly/2evXbnJ" StaticName="_CopySource" FromBaseType="TRUE"/> 
        <Field ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" ColName="tp_ModerationStatus" RowOrdinal="0" ReadOnly="TRUE" Type="ModStat" Name="_ModerationStatus" DisplayName="Approval Status" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_ModerationStatus" FromBaseType="TRUE"          <CHOICES            <CHOICE>0;#Approved</CHOICE> 
            <CHOICE>1;#Rejected</CHOICE> 
            <CHOICE>2;#Pending</CHOICE> 
            <CHOICE>3;#Draft</CHOICE> 
            <CHOICE>4;#Scheduled</CHOICE> 
          </CHOICES> 
          <Default>0</Default> 
        </Field> 
        <Field ID="{34ad21eb-75bd-4544-8c73-0e08330291fe}" ReadOnly="TRUE" Type="Note" Name="_ModerationComments" DisplayName="Approver Comments" Hidden="TRUE" CanToggleHidden="TRUE" Filterable="FALSE" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_ModerationComments" FromBaseType="TRUE" ColName="ntext1" RowOrdinal="0"/> 
        <Field ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Name="FileRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="URL Path" List="Docs" FieldRef="ID" ShowField="FullUrl" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileRef" FromBaseType="TRUE"/> 
        <Field ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" Name="FileDirRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="Path" List="Docs" FieldRef="ID" ShowField="DirName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileDirRef" FromBaseType="TRUE"/> 
        <Field ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" Name="Last_x0020_Modified" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Modified" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeLastModified" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="Last_x0020_Modified" FromBaseType="TRUE"/> 
        <Field ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Created" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeCreated" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="Created_x0020_Date" FromBaseType="TRUE"/> 
        <Field ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Name="File_x0020_Size" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="File Size" List="Docs" FieldRef="ID" ShowField="SizeInKB" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="File_x0020_Size" FromBaseType="TRUE"/> 
        <Field ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Name="FSObjType" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Type" List="Docs" FieldRef="ID" ShowField="FSType" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FSObjType" FromBaseType="TRUE"/> 
        <Field ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" Name="SortBehavior" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Sort Type" List="Docs" FieldRef="ID" ShowField="SortBehavior" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="SortBehavior" FromBaseType="TRUE"/> 
        <Field ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" Type="Computed" DisplayName="Effective Permissions Mask" SourceID="http://bit.ly/2evXbnJ" StaticName="PermMask" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="ID"/> 
          </FieldRefs> 
          <DisplayPattern            <CurrentRights/> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{a7b731a3-1df1-4d74-a5c6-e2efba617ae2}" Name="CheckedOutUserId" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ID of the User who has the item Checked Out" List="Docs" FieldRef="ID" ShowField="CheckoutUserId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="CheckedOutUserId" FromBaseType="TRUE"/> 
        <Field ID="{cfaabd0f-bdbd-4bc2-b375-1e779e2cad08}" Name="IsCheckedoutToLocal" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Is Checked out to local" List="Docs" FieldRef="ID" ShowField="IsCheckoutToLocal" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="IsCheckedoutToLocal" FromBaseType="TRUE"/> 
        <Field ID="{3881510a-4e4a-4ee8-b102-8ee8e2d0dd4b}" ColName="tp_CheckoutUserId" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="CheckoutUser" DisplaceOnUpgrade="TRUE" DisplayName="Checked Out To" SourceID="http://bit.ly/2evXbnJ" StaticName="CheckoutUser" FromBaseType="TRUE"/> 
        <Field ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" ShowInFileDlg="FALSE" ShowInVersionHistory="FALSE" Type="File" Name="FileLeafRef" DisplayName="Name" AuthoringInfo="(for use in forms)" List="Docs" FieldRef="ID" ShowField="LeafName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" Required="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="FileLeafRef" FromBaseType="TRUE"/> 
        <Field ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" Name="UniqueId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Unique Id" List="Docs" FieldRef="ID" ShowField="UniqueId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="UniqueId" FromBaseType="TRUE"/> 
        <Field ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" Name="SyncClientId" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ReadOnly="TRUE" DisplayName="Client Id" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="SyncClientId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="SyncClientId" FromBaseType="TRUE"/> 
        <Field ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Name="ProgId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ProgId" List="Docs" FieldRef="ID" ShowField="ProgId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ProgId" FromBaseType="TRUE"/> 
        <Field ID="{dddd2420-b270-4735-93b5-92b713d0944d}" Name="ScopeId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ScopeId" List="Docs" FieldRef="ID" ShowField="ScopeId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ScopeId" FromBaseType="TRUE"/> 
        <Field ID="{4a389cb9-54dd-4287-a71a-90ff362028bc}" Name="VirusStatus" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Virus Status" List="Docs" FieldRef="ID" ShowField="Size" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="VirusStatus" FromBaseType="TRUE"/> 
        <Field ID="{9d4adc35-7cc8-498c-8424-ee5fd541e43a}" Name="CheckedOutTitle" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Checked Out To" List="Docs" FieldRef="ID" ShowField="CheckedOutTitle" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="CheckedOutTitle" FromBaseType="TRUE"/> 
        <Field ID="{58014f77-5463-437b-ab67-eec79532da67}" Name="_CheckinComment" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Check In Comment" List="Docs" FieldRef="ID" ShowField="CheckinComment" Filterable="FALSE" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_CheckinComment" FromBaseType="TRUE"/> 
        <Field ID="{e2a15dfd-6ab8-4aec-91ab-02f6b64045b0}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="LinkCheckedOutTitle" DisplayName="Checked Out To" Filterable="TRUE" AuthoringInfo="(link to username to user details page)" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkCheckedOutTitle" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="CheckedOutTitle"/> 
            <FieldRef Name="CheckedOutUserId"/> 
          </FieldRefs> 
          <DisplayPattern            <IfEqual              <Expr1                <Field Name="CheckedOutUserId"/> 
              </Expr1> 
              <Expr2/> 
              <Then/> 
              <Else                <HTML><![CDATA[<a href="]]></HTML> 
                <HttpVDir CurrentWeb="TRUE"/> 
                <HTML><![CDATA[/_layouts/15/userdisp.aspx?id=]]></HTML> 
                <Field Name="CheckedOutUserId"/> 
                <HTML><![CDATA[">]]></HTML> 
                <Field HTMLEncode="TRUE" Name="CheckedOutTitle"/> 
                <HTML><![CDATA[</a>]]></HTML> 
              </Else> 
            </IfEqual> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{822c78e3-1ea9-4943-b449-57863ad33ca9}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="Modified_x0020_By" DisplayName="Document Modified By" SourceID="http://bit.ly/2evXbnJ" StaticName="Modified_x0020_By" FromBaseType="TRUE" ColName="nvarchar10" RowOrdinal="0"/> 
        <Field ID="{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="Created_x0020_By" DisplayName="Document Created By" SourceID="http://bit.ly/2evXbnJ" StaticName="Created_x0020_By" FromBaseType="TRUE" ColName="nvarchar11" RowOrdinal="0"/> 
        <Field ID="{39360f11-34cf-4356-9945-25c44e68dade}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="File_x0020_Type" DisplayName="File Type" SourceID="http://bit.ly/2evXbnJ" StaticName="File_x0020_Type" FromBaseType="TRUE" ColName="nvarchar12" RowOrdinal="0"/> 
        <Field ID="{0c5e0085-eb30-494b-9cdd-ece1d3c649a2}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="HTML_x0020_File_x0020_Type" DisplayName="HTML File Type" SourceID="http://bit.ly/2evXbnJ" StaticName="HTML_x0020_File_x0020_Type" FromBaseType="TRUE" ColName="nvarchar13" RowOrdinal="0"/> 
        <Field ID="{c63a459d-54ba-4ab7-933a-dcf1c6fadec2}" Name="_SourceUrl" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Text" DisplayName="Source URL" SourceID="http://bit.ly/2evXbnJ" StaticName="_SourceUrl" FromBaseType="TRUE" ColName="nvarchar14" RowOrdinal="0"/> 
        <Field ID="{034998e9-bf1c-4288-bbbd-00eacfc64410}" Name="_SharedFileIndex" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Text" DisplayName="Shared File Index" SourceID="http://bit.ly/2evXbnJ" StaticName="_SharedFileIndex" FromBaseType="TRUE" ColName="nvarchar15" RowOrdinal="0"/> 
        <Field ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="_EditMenuTableStart" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" ClassInfo="Menu" SourceID="http://bit.ly/2evXbnJ" StaticName="_EditMenuTableStart" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="FileLeafRef"/> 
            <FieldRef Name="FileDirRef"/> 
            <FieldRef Name="FSObjType"/> 
            <FieldRef Name="ID"/> 
            <FieldRef Name="ServerUrl"/> 
            <FieldRef Name="HTML_x0020_File_x0020_Type"/> 
            <FieldRef Name="File_x0020_Type"/> 
            <FieldRef Name="PermMask"/> 
            <FieldRef Name="IsCheckedoutToLocal"/> 
            <FieldRef Name="CheckoutUser"/> 
            <FieldRef Name="_SourceUrl"/> 
            <FieldRef Name="_HasCopyDestinations"/> 
            <FieldRef Name="_CopySource"/> 
            <FieldRef Name="ContentType"/> 
            <FieldRef Name="ContentTypeId"/> 
            <FieldRef Name="_ModerationStatus"/> 
            <FieldRef Name="_UIVersion"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <HTML><![CDATA[
                            " id="                            " Url="                            " DRef="                            " Perm="                            " type="                            " Ext="                            " Icon="                                              |                                            " OType="                            " COUId="                            " SRed="                                              |                                            " DefaultIO="                            " COut="                            " HCD="                            " CSrc="                            " MS="                                                                                    " UIS="                                          " SUrl="                            ]]>                                                                                                              " id="                                                                                                              ]]></HTML>              <HTML><![CDATA[
]]>               ]]>              ]]>               ]]>              ]]></HTML>            </DisplayPattern>          </Field>          <Field ID="{9d30f126-ba48-446b-b8f9-83745f322ebe}" ReadOnly="TRUE" Type="Computed" Name="LinkFilenameNoMenu" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" AuthoringInfo="(linked to document)" ListItemMenuAllowed="Prohibited" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilenameNoMenu" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="Created_x0020_Date"/>              <FieldRef Name="FileRef"/>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="ContentTypeId"/>              <FieldRef Name="PermMask"/>              <FieldRef Name="CheckoutUser"/>              <FieldRef Name="IsCheckedoutToLocal"/>              <FieldRef Name="ServerUrl"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name="RecursiveView"/>                    </Expr>                    <Case Value="1">                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                    </Case>                    <Default>                      <SetVar Name="UnencodedFilterLink">                        <SetVar Name="RootFolder">                          <HTML>/</HTML>                          <LookupColumn Name="FileRef"/>                        </SetVar>                        <SetVar Name="SkipHost">1</SetVar>                        <SetVar Name="FolderCTID">                          <FieldSwitch>                            <Expr>                              <ListProperty Select="EnableContentTypes"/>                            </Expr>                            <Case Value="1">                              <Column Name="ContentTypeId"/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default="" Paged="FALSE"/>                      </SetVar>                      <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                      <GetVar Name="UnencodedFilterLink" HTMLEncode="TRUE"/>                      <HTML><![CDATA[" onmousedown="javascript:VerifyFolderHref(this,event, ']]></HTML>                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]]>                                                                                                                                              1                                                  ]]>                                                                    ]]>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]]>                                                                                                                                                            1                                          ]]>                                                        ]]>                                                          New                    ]]>                                                                                                                                                                                                                                                                                                                                                                    ]]>                                    ]]>                  ]]>                   ]]>                  ]]>                   ]]>                  ]]>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1                                                                  0x0120D5                                                                                                                            Document Collection:                                                                                                     Folder:                                                                                                                                                                                                                                                                                                                                                                                                                                                             1                                                                                                                                          |                                                                                                                    |                                                                                      folder.gif                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                    folder.gif                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                      ]]>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ]]>                                                                                                                                                                                    ]]>                                                                                                                                1                                                                                                                                                                                                                                                                                /                                                                          1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]]>                                                                              ]]>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]]>                                                      ]]>                                                                                                                              /                                                                                                                            /                                                                                                                                                                                              1                                                                                                                                                                                                                                                                                                                                                                             KB                                                                                                                                                                                                                                                                                                                                                            Selected                  ]]>                                                                                                                                                                                                                                                                              ]]>                                    Normal                  ]]>                  ]]>                                                                                                                                                                                                                                                                                      Selected                  ]]>                                                                                                                                                                                                                                                                              ]]>                                    Normal                  ]]>                  ]]>                                                                                                                                                                                                                                                                                                                                                                                      1                                                                                                                                                                                                                                                                                                                1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ]]>                                    Edit Document Properties                  ]]>                  ]]>                                                                                                                                                                                                                                                                                                                                                                                                                                    0                                                                      ]]>                                                      ]]>                                                        |                                                                                                  ]]>                                                                                                                                                                                                              0                                                                      ]]>                                                                                                                                                                                                                                                                                                                                    PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=                                                                                                                                                        PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=                                                                                                                                                                                                                          PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=                                                                                              1          1          0                Shared Documents/Forms/template.dotx                              Content Following Item Updated Event Receiver 101            2            10002            10000            Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c            Microsoft.Office.Server.UserProfiles.ContentFollowingItemEventReceiver                                                                                main.xsl            clienttemplates.js            30                                                                                                                                                                                                                                                    main.xsl            clienttemplates.js            30                                                                                                                                                                                                                                                                  main.xsl            30                                                                                                                                                                                                                                                                                                                    1                                                                                                                20                                                                                                                                                                                                                        30                        main.xsl            clienttemplates.js                                                                                                                                                                                                                                                                                                    FALSE                                FALSE                                                                                                                                                                                                                                                                                                                                                                        1                                                                                        /                                                                    /_w/                                                                                          _                                                                                          .jpg                                                                                                                                                                0                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                  /                                                                                            /_w/                                                                                                                          _                                                                                                                          .jpg                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ]]>                                                                                                                                                                                                                                                                                              0                                                                                                                                                                                                                                                                                    0                                                                          ]]>                                                                                                                                                              ]]>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1                                                                                        /                                                                    /_t/                                                                                          _                                                                                          .jpg                                                                                                                                                                0                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                  /                                                                                            /_t/                                                                                                                          _                                                                                                                          .jpg                                                                                                                                                                                                                                                                                                                                                                                            0                                                      fSelectFieldAppeared = true; firstIdWithCheckbox =']]>                                                                                                <input type=checkbox disabled style="visibility:hidden" title='selection checkbox' name="selectionCheckBox" id="cbx_]]>                  </HTML>                  <Column Name="ID"/>                  <HTML><![CDATA[" onfocus="if (!IsImgLibJssLoaded()) return; HiLiteRow(]]></HTML>                  <Column Name="ID"/>                  <HTML><![CDATA[)" onclick="if (!IsImgLibJssLoaded()) return; ToggleSelection(]]></HTML>                  <Column Name="ID"/>                  <HTML><![CDATA[)">]]></HTML>                </Then>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{76d1cc87-56de-432c-8a2a-16e5ba5331b3}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="NameOrTitle" ClassInfo="Menu" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" AuthoringInfo="(linked to display items)" SourceID="http://bit.ly/2f1P5Ga" StaticName="NameOrTitle" Customization="">            <FieldRefs>              <FieldRef ID="{687C7F94-686A-42d3-9B67-2782EAC4B4F8}" Name="FileLeafRef"/>              <FieldRef ID="{56605DF6-8FA1-47e4-A04C-5B384D59609F}" Name="FileDirRef"/>              <FieldRef ID="{FA564E0F-0C70-4ab9-B863-0177E6DDD247}" Name="Title"/>              <FieldRef ID="{081C6E4C-5C14-4f20-B23E-1A71CEB6A67C}" Name="DocIcon"/>              <FieldRef ID="{94F89715-E097-4e8b-BA79-EA02AA8B7ADB}" Name="FileRef"/>              <FieldRef ID="{9DA97A8A-1DA5-4a77-98D3-4BC10456E700}" Name="Description"/>              <FieldRef ID="{30BB605F-5BAE-48fe-B4E3-1F81D9772AF9}" Name="FSObjType"/>              <FieldRef ID="{3881510A-4E4A-4ee8-B102-8EE8E2D0DD4B}" Name="CheckedOutUserId"/>              <FieldRef ID="{105F76CE-724A-4bba-AECE-F81F2FCE58F5}" Name="ServerUrl"/>              <FieldRef ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date"/>            </FieldRefs>            <DisplayPattern>              <HTML>                <![CDATA[              <table cellspacing="0" class="ms-unselectedtitle" NameOrTitle="true"              Url="]]>              </HTML>              <Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>              <HTML>                <![CDATA["               DRef="]]>              </HTML>              <Field Name="FileDirRef"/>              <HTML>                <![CDATA["              COUId="]]>              </HTML>              <Field Name="CheckedOutUserId"/>              <HTML>                <![CDATA["              Type="]]>              </HTML>              <Column Name="HTML_x0020_File_x0020_Type"/>              <HTML>                &quot;                Icon=&quot;              </HTML>              <MapToAll>                <Column Name="HTML_x0020_File_x0020_Type"/>                <HTML>|</HTML>                <Column Name="File_x0020_Type"/>              </MapToAll>              <HTML>&quot; OType=&quot;</HTML>              <LookupColumn Name="FSObjType"/>              <HTML>                <![CDATA["                          Ext="]]>              </HTML>              <Column Name="File_x0020_Type"/>              <HTML><![CDATA[" cellspacing="0" cellpadding="0"><tr id="title]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[" onclick="if (!IsImgLibJssLoaded()) return; ClickRow(]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[)" oncontextmenu="if (!IsImgLibJssLoaded()) return true; return ContextMenuOnRow(]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[);" onmouseover="if (!IsImgLibJssLoaded()) return; MouseOverRow(]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[)" onmouseout="if (!IsImgLibJssLoaded()) return; MouseOutRow(]]></HTML>              <Column Name="ID"/>              <HTML>                <![CDATA[)">              <td width="100%" class="ms-vb">]]>              </HTML>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <IfEqual>                    <Expr1>                      <LookupColumn Name="ImageWidth"/>                    </Expr1>                    <Expr2/>                    <Then>                      <HTML><![CDATA[<a href="]]></HTML>                      <Field Name="EncodedAbsUrl"/>                      <HTML><![CDATA[" onclick="if (!IsImgLibJssLoaded()) return; javascript:DisplayItemOnFileRef(]]></HTML>                      <Column Name="ID"/>                      <HTML><![CDATA[);return false;" onmouseover="if (!IsImgLibJssLoaded()) return; javascript:MouseOverRow(]]></HTML>                      <Column Name="ID"/>                      <HTML><![CDATA[)" target="_self">]]></HTML>                      <UrlBaseName HTMLEncode="TRUE">                        <LookupColumn Name="FileLeafRef"/>                      </UrlBaseName>                      <HTML><![CDATA[</a>]]></HTML>                    </Then>                    <Else>                      <HTML><![CDATA[<a href="]]></HTML>                      <URL Cmd="Display"/>                      <HTML><![CDATA[" ]]></HTML>                      <HTML><![CDATA[onclick="if (!IsImgLibJssLoaded()) return; javascript:DisplayItemOnFileRef(]]></HTML>                      <Column Name="ID"/>                      <HTML><![CDATA[);return false;" onmouseover="if (!IsImgLibJssLoaded()) return; javascript:MouseOverRow(]]></HTML>                      <Column Name="ID"/>                      <HTML><![CDATA[)" target="_self">]]></HTML>                      <UrlBaseName HTMLEncode="TRUE">                        <LookupColumn Name="FileLeafRef"/>                      </UrlBaseName>                      <HTML><![CDATA[</a>]]></HTML>                    </Else>                  </IfEqual>                  <IfNew Name="Created_x0020_Date">                    <HTML><![CDATA[<img src="/_layouts/15/1033/images/new.gif" alt="]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[" class="ms-newgif" />]]></HTML>                  </IfNew>                </Then>                <Else>                  <Switch>                    <Expr>                      <GetVar Name="RecursiveView"/>                    </Expr>                    <Case Value="1">                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                    </Case>                    <Default>                      <HTML><![CDATA[<a href="]]></HTML>                      <SetVar Name="RootFolder">                        <HTML>/</HTML>                        <LookupColumn Name="FileRef"/>                      </SetVar>                      <FilterLink Default="" Paged="FALSE"/>                      <HTML><![CDATA[" target="_self">]]></HTML>                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                      <HTML><![CDATA[</a>]]></HTML>                    </Default>                  </Switch>                </Else>              </IfEqual>              <HTML>                <![CDATA[</td>                  <td class='ms-menuimagecell' style='visibility:hidden' width="10" id="menuTd]]>              </HTML>              <Column Name="ID"/>              <HTML><![CDATA["><a id="menuHref]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[" href="javascript:ClickRow(]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[)" onclick="JavaScript:ClickRow(]]></HTML>              <Column Name="ID"/>              <HTML><![CDATA[); JavaScript:return false;"><img border="0" width="13" src="/_layouts/15/images/menudark.gif?rev=23" alt="]]></HTML>              <HTML>Edit Menu</HTML>              <HTML>                <![CDATA["></a></td>              </tr></table>              ]]>              </HTML>            </DisplayPattern>          </Field>          <Field ID="{de1baa4b-2117-473b-aa0c-4d824034142d}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="RequiredField" DisplayName="Required Field" AuthoringInfo="(must be selected for picture library details view)" Sortable="FALSE" Filterable="FALSE" SourceID="http://bit.ly/2f1P5Ga" StaticName="RequiredField" Customization="">            <FieldRefs>              <FieldRef ID="{94F89715-E097-4e8b-BA79-EA02AA8B7ADB}" Name="FileRef"/>              <FieldRef ID="{687C7F94-686A-42d3-9B67-2782EAC4B4F8}" Name="FileLeafRef"/>              <FieldRef ID="{FA564E0F-0C70-4ab9-B863-0177E6DDD247}" Name="Title"/>              <FieldRef ID="{9DA97A8A-1DA5-4a77-98D3-4BC10456E700}" Name="Description"/>              <FieldRef ID="{922551B8-C7E0-46a6-B7E3-3CF02917F68A}" Name="ImageSize"/>              <FieldRef ID="{081C6E4C-5C14-4f20-B23E-1A71CEB6A67C}" Name="DocIcon"/>            </FieldRefs>            <DisplayPattern/>          </Field>          <Field ID="{ac7bb138-02dc-40eb-b07a-84c15575b6e9}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="Thumbnail" ShowInNewForm="FALSE" ShowInFileDlg="FALSE" ShowInEditForm="FALSE" DisplayName="Thumbnail" Sealed="TRUE" Sortable="FALSE" SourceID="http://bit.ly/2f1P5Ga" StaticName="Thumbnail" Customization="">            <FieldRefs>              <FieldRef ID="{7E68A0F9-AF76-404c-9613-6F82BC6DC28C}" Name="ImageWidth"/>              <FieldRef ID="{1944C034-D61B-42af-AA84-647F2E74CA70}" Name="ImageHeight"/>              <FieldRef ID="{30BB605F-5BAE-48fe-B4E3-1F81D9772AF9}" Name="FSObjType"/>              <FieldRef ID="{B9E6F3AE-5632-4b13-B636-9D1A2BD67120}" Name="EncodedAbsThumbnailUrl"/>              <FieldRef ID="{1F43CD21-53C5-44c5-8675-B8BB86083244}" Name="ThumbnailExists"/>              <FieldRef ID="{F39D44AF-D3F3-4ae6-B43F-AC7330B5E9BD}" Name="AlternateThumbnailUrl"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <IfEqual>                    <Expr1>                      <LookupColumn Name="ImageWidth"/>                    </Expr1>                    <Expr2/>                    <Then/>                    <Else>                      <IfEqual>                        <Expr1>                          <LookupColumn Name="ImageWidth"/>                        </Expr1>                        <Expr2>0</Expr2>                        <Then/>                        <Else>                          <HTML><![CDATA[<a href="]]></HTML>                          <URL Cmd="Display"/>                          <HTML><![CDATA["><img border="0" ALT="Thumbnail" src="]]></HTML>                          <Field Name="EncodedAbsThumbnailUrl"/>                          <HTML>                            <![CDATA[">                                      </a>                                      ]]>                          </HTML>                        </Else>                      </IfEqual>                    </Else>                  </IfEqual>                </Then>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{bd716b26-546d-43f2-b229-62699581fa9f}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="Preview" ShowInNewForm="FALSE" ShowInFileDlg="FALSE" ShowInEditForm="FALSE" DisplayName="Web Preview" Sealed="TRUE" Sortable="FALSE" SourceID="http://bit.ly/2f1P5Ga" StaticName="Preview" Customization="">            <FieldRefs>              <FieldRef ID="{7E68A0F9-AF76-404c-9613-6F82BC6DC28C}" Name="ImageWidth"/>              <FieldRef ID="{1944C034-D61B-42af-AA84-647F2E74CA70}" Name="ImageHeight"/>              <FieldRef ID="{30BB605F-5BAE-48fe-B4E3-1F81D9772AF9}" Name="FSObjType"/>              <FieldRef ID="{A1CA0063-779F-49f9-999C-A4A2E3645B07}" Name="EncodedAbsWebImgUrl"/>              <FieldRef ID="{1F43CD21-53C5-44c5-8675-B8BB86083244}" Name="PreviewExists"/>              <FieldRef ID="{F39D44AF-D3F3-4ae6-B43F-AC7330B5E9BD}" Name="AlternateThumbnailUrl"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <IfEqual>                    <Expr1>                      <LookupColumn Name="ImageWidth"/>                    </Expr1>                    <Expr2/>                    <Then/>                    <Else>                      <IfEqual>                        <Expr1>                          <LookupColumn Name="ImageWidth"/>                        </Expr1>                        <Expr2>0</Expr2>                        <Then/>                        <Else>                          <HTML><![CDATA[<a href="]]></HTML>                          <URL Cmd="Display"/>                          <HTML><![CDATA["><img  ALT="Web Preview" src="]]></HTML>                          <Field Name="EncodedAbsWebImgUrl"/>                          <HTML>                            <![CDATA[">                                      </a>                                      ]]>                          </HTML>                        </Else>                      </IfEqual>                    </Else>                  </IfEqual>                </Then>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{086f2b30-460c-4251-b75a-da88a5b205c1}" Type="Text" Group="_Hidden" Name="ShowCombineView" SourceID="http://bit.ly/2evXbnJ" StaticName="ShowCombineView" DisplayName="Show Combine View" Filterable="TRUE" Sortable="TRUE" Hidden="TRUE" FromBaseType="TRUE" Customization="" ColName="nvarchar12" RowOrdinal="0"/>          <Field ID="{11851948-b05e-41be-9d9f-bc3bf55d1de3}" Name="ShowRepairView" SourceID="http://bit.ly/2evXbnJ" StaticName="ShowRepairView" Type="Text" Group="_Hidden" DisplayName="Show Repair View" Filterable="TRUE" Sortable="TRUE" Hidden="TRUE" FromBaseType="TRUE" Customization="" ColName="nvarchar13" RowOrdinal="0"/>          <Field ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" ColName="tp_ID" RowOrdinal="0" ReadOnly="TRUE" Type="Counter" Name="ID" DisplayName="ID" SourceID="http://bit.ly/2evXbnJ" StaticName="ID" FromBaseType="TRUE"/>          <Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ContentTypeId"/>            </FieldRefs>            <DisplayPattern>              <MapToContentType>                <Column Name="ContentTypeId"/>              </MapToContentType>            </DisplayPattern>          </Field>          <Field ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" ColName="tp_Created" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Created" DisplayName="Created" StorageTZ="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Created" FromBaseType="TRUE"/>          <Field ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" ColName="tp_Author" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Author" DisplayName="Created By" SourceID="http://bit.ly/2evXbnJ" StaticName="Author" FromBaseType="TRUE"/>          <Field ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" ColName="tp_Modified" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Modified" DisplayName="Modified" StorageTZ="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Modified" FromBaseType="TRUE"/>          <Field ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" ColName="tp_Editor" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Editor" DisplayName="Modified By" SourceID="http://bit.ly/2evXbnJ" StaticName="Editor" FromBaseType="TRUE"/>          <Field ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" ColName="tp_HasCopyDestinations" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Boolean" Name="_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" SourceID="http://bit.ly/2evXbnJ" StaticName="_HasCopyDestinations" FromBaseType="TRUE"/>          <Field ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" ColName="tp_CopySource" RowOrdinal="0" Sealed="TRUE" Hidden="FALSE" ReadOnly="TRUE" Type="Text" Name="_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" SourceID="http://bit.ly/2evXbnJ" StaticName="_CopySource" FromBaseType="TRUE"/>          <Field ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" ColName="tp_ModerationStatus" RowOrdinal="0" ReadOnly="TRUE" Type="ModStat" Name="_ModerationStatus" DisplayName="Approval Status" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_ModerationStatus" FromBaseType="TRUE">            <CHOICES>              <CHOICE>0;#Approved</CHOICE>              <CHOICE>1;#Rejected</CHOICE>              <CHOICE>2;#Pending</CHOICE>              <CHOICE>3;#Draft</CHOICE>              <CHOICE>4;#Scheduled</CHOICE>            </CHOICES>            <Default>0</Default>          </Field>          <Field ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Name="FileRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="URL Path" List="Docs" FieldRef="ID" ShowField="FullUrl" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileRef" FromBaseType="TRUE"/>          <Field ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" Name="FileDirRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="Path" List="Docs" FieldRef="ID" ShowField="DirName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileDirRef" FromBaseType="TRUE"/>          <Field ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" Name="Last_x0020_Modified" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Modified" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeLastModified" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="Last_x0020_Modified" FromBaseType="TRUE"/>          <Field ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Created" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeCreated" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="Created_x0020_Date" FromBaseType="TRUE"/>          <Field ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Name="File_x0020_Size" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="File Size" List="Docs" FieldRef="ID" ShowField="SizeInKB" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="File_x0020_Size" FromBaseType="TRUE"/>          <Field ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Name="FSObjType" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Type" List="Docs" FieldRef="ID" ShowField="FSType" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FSObjType" FromBaseType="TRUE"/>          <Field ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" Name="SortBehavior" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Sort Type" List="Docs" FieldRef="ID" ShowField="SortBehavior" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="SortBehavior" FromBaseType="TRUE"/>          <Field ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" Type="Computed" DisplayName="Effective Permissions Mask" SourceID="http://bit.ly/2evXbnJ" StaticName="PermMask" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ID"/>            </FieldRefs>            <DisplayPattern>              <CurrentRights/>            </DisplayPattern>          </Field>          <Field ID="{a7b731a3-1df1-4d74-a5c6-e2efba617ae2}" Name="CheckedOutUserId" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ID of the User who has the item Checked Out" List="Docs" FieldRef="ID" ShowField="CheckoutUserId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="CheckedOutUserId" FromBaseType="TRUE"/>          <Field ID="{cfaabd0f-bdbd-4bc2-b375-1e779e2cad08}" Name="IsCheckedoutToLocal" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Is Checked out to local" List="Docs" FieldRef="ID" ShowField="IsCheckoutToLocal" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="IsCheckedoutToLocal" FromBaseType="TRUE"/>          <Field ID="{3881510a-4e4a-4ee8-b102-8ee8e2d0dd4b}" ColName="tp_CheckoutUserId" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="CheckoutUser" DisplaceOnUpgrade="TRUE" DisplayName="Checked Out To" SourceID="http://bit.ly/2evXbnJ" StaticName="CheckoutUser" FromBaseType="TRUE"/>          <Field ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" Name="UniqueId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Unique Id" List="Docs" FieldRef="ID" ShowField="UniqueId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="UniqueId" FromBaseType="TRUE"/>          <Field ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" Name="SyncClientId" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ReadOnly="TRUE" DisplayName="Client Id" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="SyncClientId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="SyncClientId" FromBaseType="TRUE"/>          <Field ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Name="ProgId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ProgId" List="Docs" FieldRef="ID" ShowField="ProgId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ProgId" FromBaseType="TRUE"/>          <Field ID="{dddd2420-b270-4735-93b5-92b713d0944d}" Name="ScopeId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ScopeId" List="Docs" FieldRef="ID" ShowField="ScopeId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ScopeId" FromBaseType="TRUE"/>          <Field ID="{4a389cb9-54dd-4287-a71a-90ff362028bc}" Name="VirusStatus" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Virus Status" List="Docs" FieldRef="ID" ShowField="Size" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="VirusStatus" FromBaseType="TRUE"/>          <Field ID="{9d4adc35-7cc8-498c-8424-ee5fd541e43a}" Name="CheckedOutTitle" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Checked Out To" List="Docs" FieldRef="ID" ShowField="CheckedOutTitle" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="CheckedOutTitle" FromBaseType="TRUE"/>          <Field ID="{58014f77-5463-437b-ab67-eec79532da67}" Name="_CheckinComment" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Check In Comment" List="Docs" FieldRef="ID" ShowField="CheckinComment" Filterable="FALSE" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_CheckinComment" FromBaseType="TRUE"/>          <Field ID="{e2a15dfd-6ab8-4aec-91ab-02f6b64045b0}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="LinkCheckedOutTitle" DisplayName="Checked Out To" Filterable="TRUE" AuthoringInfo="(link to username to user details page)" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkCheckedOutTitle" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="CheckedOutTitle"/>              <FieldRef Name="CheckedOutUserId"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <Field Name="CheckedOutUserId"/>                </Expr1>                <Expr2/>                <Then/>                <Else>                  <HTML><![CDATA[<a href="]]></HTML>                  <HttpVDir CurrentWeb="TRUE"/>                  <HTML><![CDATA[/_layouts/15/userdisp.aspx?id=]]></HTML>                  <Field Name="CheckedOutUserId"/>                  <HTML><![CDATA[">]]></HTML>                  <Field HTMLEncode="TRUE" Name="CheckedOutTitle"/>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="_EditMenuTableStart" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" ClassInfo="Menu" SourceID="http://bit.ly/2evXbnJ" StaticName="_EditMenuTableStart" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FileDirRef"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="ID"/>              <FieldRef Name="ServerUrl"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="PermMask"/>              <FieldRef Name="IsCheckedoutToLocal"/>              <FieldRef Name="CheckoutUser"/>              <FieldRef Name="_SourceUrl"/>              <FieldRef Name="_HasCopyDestinations"/>              <FieldRef Name="_CopySource"/>              <FieldRef Name="ContentType"/>              <FieldRef Name="ContentTypeId"/>              <FieldRef Name="_ModerationStatus"/>              <FieldRef Name="_UIVersion"/>            </FieldRefs>            <DisplayPattern>              <HTML><![CDATA[
                            " id="                            " Url="                            " DRef="                            " Perm="                            " type="                            " Ext="                            " Icon="                                              |                                            " OType="                            " COUId="                            " SRed="                                              |                                            " DefaultIO="                            " COut="                            " HCD="                            " CSrc="                            " MS="                                                                                    " UIS="                                          " SUrl="                            ]]>                                                                                                              " id="                                                                                                              ]]></HTML>              <HTML><![CDATA[
]]>               ]]>              ]]>               ]]>              ]]></HTML>            </DisplayPattern>          </Field>          <Field ID="{9d30f126-ba48-446b-b8f9-83745f322ebe}" ReadOnly="TRUE" Type="Computed" Name="LinkFilenameNoMenu" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" AuthoringInfo="(linked to document)" ListItemMenuAllowed="Prohibited" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilenameNoMenu" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="Created_x0020_Date"/>              <FieldRef Name="FileRef"/>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="ContentTypeId"/>              <FieldRef Name="PermMask"/>              <FieldRef Name="CheckoutUser"/>              <FieldRef Name="IsCheckedoutToLocal"/>              <FieldRef Name="ServerUrl"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name="RecursiveView"/>                    </Expr>                    <Case Value="1">                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                    </Case>                    <Default>                      <SetVar Name="UnencodedFilterLink">                        <SetVar Name="RootFolder">                          <HTML>/</HTML>                          <LookupColumn Name="FileRef"/>                        </SetVar>                        <SetVar Name="SkipHost">1</SetVar>                        <SetVar Name="FolderCTID">                          <FieldSwitch>                            <Expr>                              <ListProperty Select="EnableContentTypes"/>                            </Expr>                            <Case Value="1">                              <Column Name="ContentTypeId"/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default="" Paged="FALSE"/>                      </SetVar>                      <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                      <GetVar Name="UnencodedFilterLink" HTMLEncode="TRUE"/>                      <HTML><![CDATA[" onmousedown="javascript:VerifyFolderHref(this,event, ']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <GetVar Name="UnencodedFilterLink"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="HtmlTrProgId">                          <Column Name="File_x0020_Type"/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ListProperty Select="DefaultItemOpen"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <MapToControl>                          <Column Name="HTML_x0020_File_x0020_Type"/>                          <HTML>|</HTML>                          <Column Name="File_x0020_Type"/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Column Name="HTML_x0020_File_x0020_Type"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="GetServerFileRedirect">                          <Field Name="ServerUrl"/>                          <HTML>|</HTML>                          <Column Name="HTML_x0020_File_x0020_Type"/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[')"]]></HTML>                      <HTML><![CDATA[" onclick="return HandleFolder(this,event, ']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <GetVar Name="UnencodedFilterLink"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="HtmlTransform"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="HtmlTrAcceptType">                          <Column Name="File_x0020_Type"/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="HtmlTrHandleUrl">                          <Column Name="File_x0020_Type"/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="HtmlTrProgId">                          <Column Name="File_x0020_Type"/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ListProperty Select="DefaultItemOpen"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <MapToControl>                          <Column Name="HTML_x0020_File_x0020_Type"/>                          <HTML>|</HTML>                          <Column Name="File_x0020_Type"/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Column Name="HTML_x0020_File_x0020_Type"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="GetServerFileRedirect">                          <Field Name="ServerUrl"/>                          <HTML>|</HTML>                          <Column Name="HTML_x0020_File_x0020_Type"/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Column Name="CheckoutUser"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <UserID AllowAnonymous="TRUE"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ListProperty Select="ForceCheckout"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Field Name="IsCheckedoutToLocal"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Field Name="PermMask"/>                      </ScriptQuote>                      <HTML><![CDATA[');">]]></HTML>                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                      <IfEqual>                        <Expr1>                          <GetVar Name="ShowAccessibleIcon"/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <HTML><![CDATA[<img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/>]]></HTML>                        </Then>                      </IfEqual>                      <HTML><![CDATA[</a>]]></HTML>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                  <Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>                  <HTML><![CDATA[" onclick="return DispEx(this,event,']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTransform"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTrAcceptType">                      <Column Name="File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTrHandleUrl">                      <Column Name="File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTrProgId">                      <Column Name="File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ListProperty Select="DefaultItemOpen"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <MapToControl>                      <Column Name="HTML_x0020_File_x0020_Type"/>                      <HTML>|</HTML>                      <Column Name="File_x0020_Type"/>                    </MapToControl>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="HTML_x0020_File_x0020_Type"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="GetServerFileRedirect">                      <Field Name="ServerUrl"/>                      <HTML>|</HTML>                      <Column Name="HTML_x0020_File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="CheckoutUser"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <UserID AllowAnonymous="TRUE"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ListProperty Select="ForceCheckout"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="IsCheckedoutToLocal"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="PermMask"/>                  </ScriptQuote>                  <HTML><![CDATA[')">]]></HTML>                  <UrlBaseName HTMLEncode="TRUE">                    <LookupColumn Name="FileLeafRef"/>                  </UrlBaseName>                  <IfEqual>                    <Expr1>                      <GetVar Name="ShowAccessibleIcon"/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <HTML><![CDATA[<img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/>]]></HTML>                    </Then>                  </IfEqual>                  <HTML><![CDATA[</a>]]></HTML>                  <IfNew Name="Created_x0020_Date">                    <HTML><![CDATA[<img src="/_layouts/15/1033/images/new.gif" alt="]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[" class="ms-newgif" />]]></HTML>                  </IfNew>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{5cc6dc79-3710-4374-b433-61cb4a686c12}" ReadOnly="TRUE" Type="Computed" Name="LinkFilename" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" ClassInfo="Menu" AuthoringInfo="(linked to document with edit menu)" ListItemMenuAllowed="Required" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilename" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="LinkFilenameNoMenu"/>              <FieldRef Name="_EditMenuTableStart2"/>              <FieldRef Name="_EditMenuTableEnd"/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name="FreeForm"/>                </Expr>                <Case Value="TRUE">                  <Field Name="LinkFilenameNoMenu"/>                </Case>                <Default>                  <HTML><![CDATA[
                                    ]]>                                    ]]></HTML>                  <HTML><![CDATA[
]]>                   ]]>                  ]]>                   ]]>                  ]]></HTML>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID="{224ba411-da77-4050-b0eb-62d422f13d3e}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="LinkFilename2" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" ClassInfo="Menu" AuthoringInfo="(linked to document with edit menu) (old)" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilename2" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="LinkFilenameNoMenu"/>              <FieldRef Name="_EditMenuTableStart"/>              <FieldRef Name="_EditMenuTableEnd"/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name="FreeForm"/>                </Expr>                <Case Value="TRUE">                  <Field Name="LinkFilenameNoMenu"/>                </Case>                <Default>                  <Field Name="_EditMenuTableStart"/>                  <SetVar Name="ShowAccessibleIcon" Value="1"/>                  <Field Name="LinkFilenameNoMenu"/>                  <SetVar Name="ShowAccessibleIcon" Value="0"/>                  <Field Name="_EditMenuTableEnd"/>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID="{081c6e4c-5c14-4f20-b23e-1a71ceb6a67c}" Type="Computed" ReadOnly="TRUE" Name="DocIcon" DisplayName="Type" TextOnly="TRUE" ClassInfo="Icon" AuthoringInfo="(icon linked to document)" SourceID="http://bit.ly/2evXbnJ" StaticName="DocIcon" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="FileRef"/>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="PermMask"/>              <FieldRef Name="CheckoutUser" ShowField="Title"/>              <FieldRef Name="IsCheckedoutToLocal"/>              <FieldRef Name="ServerUrl"/>              <FieldRef Name="IconOverlay"/>            </FieldRefs>            <DisplayPattern>              <SetVar Name="DocIconImg">                <SetVar Name="DocIconAltText">                  <IfEqual>                    <Expr1>                      <LookupColumn Name="FSObjType"/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <IfSubString>                        <Expr1>0x0120D5</Expr1>                        <Expr2>                          <Column Name="ContentTypeId"/>                        </Expr2>                        <Then>                          <HTML>Document Collection: </HTML>                          <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                        </Then>                        <Else>                          <HTML>Folder: </HTML>                          <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                        </Else>                      </IfSubString>                    </Then>                    <Else>                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                    </Else>                  </IfEqual>                </SetVar>                <SetVar Name="DocIconFileName">                  <IfEqual>                    <Expr1>                      <Column Name="IconOverlay"/>                    </Expr1>                    <Expr2/>                    <Then>                      <IfEqual>                        <Expr1>                          <LookupColumn Name="FSObjType"/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <IfEqual>                            <Expr1>                              <Column Name="HTML_x0020_File_x0020_Type"/>                              <HTML>|</HTML>                              <Column Name="File_x0020_Type"/>                            </Expr1>                            <Expr2>                              <HTML>|</HTML>                            </Expr2>                            <Then>                              <HTML>folder.gif</HTML>                            </Then>                            <Else>                              <SetVar Name="FolderIconFromMap">                                <MapToIcon>                                  <Column Name="HTML_x0020_File_x0020_Type"/>                                  <HTML>|</HTML>                                  <Column Name="File_x0020_Type"/>                                </MapToIcon>                              </SetVar>                              <IfEqual>                                <Expr1>                                  <GetVar Name="FolderIconFromMap"/>                                </Expr1>                                <Expr2>                                  <MapToIcon/>                                </Expr2>                                <Then>                                  <HTML>folder.gif</HTML>                                </Then>                                <Else>                                  <GetVar Name="FolderIconFromMap"/>                                </Else>                              </IfEqual>                            </Else>                          </IfEqual>                        </Then>                        <Else>                          <MapToIcon>                            <Column Name="HTML_x0020_File_x0020_Type"/>                            <HTML>|</HTML>                            <Column Name="File_x0020_Type"/>                          </MapToIcon>                        </Else>                      </IfEqual>                    </Then>                    <Else>                      <MapToIcon>                        <Column Name="IconOverlay"/>                      </MapToIcon>                    </Else>                  </IfEqual>                </SetVar>                <HTML><![CDATA[<img border="0" alt="]]></HTML>                <GetVar Name="DocIconAltText"/>                <HTML><![CDATA[" title="]]></HTML>                <GetVar Name="DocIconAltText"/>                <HTML><![CDATA[" src="/_layouts/15/images/]]></HTML>                <GetVar Name="DocIconFileName"/>                <HTML><![CDATA[" />]]></HTML>              </SetVar>              <SetVar Name="DocIconOverlayImg">                <IfEqual>                  <Expr1>                    <Column Name="IconOverlay"/>                  </Expr1>                  <Expr2/>                  <Then>                    <IfEqual>                      <Expr1>                        <Column Name="CheckoutUser"/>                      </Expr1>                      <Expr2/>                      <Else>                        <SetVar Name="DocIconOverlayAltText">                          <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                          <HTML><![CDATA[10;Checked Out To: ]]></HTML>                          <LookupColumn Name="CheckoutUser" ShowField="Title" HTMLEncode="TRUE"/>                        </SetVar>                        <HTML><![CDATA[<img class="ms-vb-icon-overlay" alt="]]></HTML>                        <GetVar Name="DocIconOverlayAltText"/>                        <HTML><![CDATA[" title="]]></HTML>                        <GetVar Name="DocIconOverlayAltText"/>                        <HTML><![CDATA[" src="/_layouts/15/images/checkoutoverlay.gif" />]]></HTML>                      </Else>                    </IfEqual>                  </Then>                  <Else>                    <HTML><![CDATA[<img class="ms-vb-icon-overlay" alt="*" src="/_layouts/15/images/]]></HTML>                    <MapToOverlay>                      <Column Name="IconOverlay"/>                    </MapToOverlay>                    <HTML><![CDATA[" />]]></HTML>                  </Else>                </IfEqual>              </SetVar>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name="RecursiveView"/>                    </Expr>                    <Case Value="1">                      <GetVar Name="DocIconImg"/>                      <GetVar Name="DocIconOverlayImg"/>                    </Case>                    <Default>                      <SetVar Name="UnencodedFilterLink">                        <SetVar Name="RootFolder">                          <HTML>/</HTML>                          <LookupColumn Name="FileRef"/>                        </SetVar>                        <SetVar Name="SkipHost">1</SetVar>                        <SetVar Name="FolderCTID">                          <FieldSwitch>                            <Expr>                              <ListProperty Select="EnableContentTypes"/>                            </Expr>                            <Case Value="1">                              <Column Name="ContentTypeId"/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default="" Paged="FALSE"/>                      </SetVar>                      <FieldSwitch>                        <Expr>                          <GetVar Name="FileDialog"/>                        </Expr>                        <Case Value="1">                          <GetVar Name="DocIconImg"/>                          <GetVar Name="DocIconOverlayImg"/>                        </Case>                        <Default>                          <HTML><![CDATA[<a href="]]></HTML>                          <GetVar Name="UnencodedFilterLink" HTMLEncode="TRUE"/>                          <HTML><![CDATA[" onmousedown="javascript:VerifyFolderHref(this,event, ']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <GetVar Name="UnencodedFilterLink"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="HtmlTrProgId">                              <Column Name="File_x0020_Type"/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ListProperty Select="DefaultItemOpen"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <MapToControl>                              <Column Name="HTML_x0020_File_x0020_Type"/>                              <HTML>|</HTML>                              <Column Name="File_x0020_Type"/>                            </MapToControl>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <Column Name="HTML_x0020_File_x0020_Type"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="GetServerFileRedirect">                              <Field Name="ServerUrl"/>                              <HTML>|</HTML>                              <Column Name="HTML_x0020_File_x0020_Type"/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[')"]]></HTML>                          <HTML><![CDATA[" onclick="return HandleFolder(this,event, ']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <GetVar Name="UnencodedFilterLink"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="HtmlTransform"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="HtmlTrAcceptType">                              <Column Name="File_x0020_Type"/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="HtmlTrHandleUrl">                              <Column Name="File_x0020_Type"/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="HtmlTrProgId">                              <Column Name="File_x0020_Type"/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ListProperty Select="DefaultItemOpen"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <MapToControl>                              <Column Name="HTML_x0020_File_x0020_Type"/>                              <HTML>|</HTML>                              <Column Name="File_x0020_Type"/>                            </MapToControl>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <Column Name="HTML_x0020_File_x0020_Type"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ServerProperty Select="GetServerFileRedirect">                              <Field Name="ServerUrl"/>                              <HTML>|</HTML>                              <Column Name="HTML_x0020_File_x0020_Type"/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <Column Name="CheckoutUser"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <UserID AllowAnonymous="TRUE"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <ListProperty Select="ForceCheckout"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <Field Name="IsCheckedoutToLocal"/>                          </ScriptQuote>                          <HTML><![CDATA[',']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <Field Name="PermMask"/>                          </ScriptQuote>                          <HTML><![CDATA[');">]]></HTML>                          <GetVar Name="DocIconImg"/>                          <GetVar Name="DocIconOverlayImg"/>                          <HTML><![CDATA[</a>]]></HTML>                        </Default>                      </FieldSwitch>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a href="]]></HTML>                  <Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>                  <HTML><![CDATA[" onclick="return DispEx(this,event,']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTransform"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTrAcceptType">                      <Column Name="File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTrHandleUrl">                      <Column Name="File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTrProgId">                      <Column Name="File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ListProperty Select="DefaultItemOpen"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <MapToControl>                      <Column Name="HTML_x0020_File_x0020_Type"/>                      <HTML>|</HTML>                      <Column Name="File_x0020_Type"/>                    </MapToControl>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="HTML_x0020_File_x0020_Type"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="GetServerFileRedirect">                      <Field Name="ServerUrl"/>                      <HTML>|</HTML>                      <Column Name="HTML_x0020_File_x0020_Type"/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="CheckoutUser"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <UserID AllowAnonymous="TRUE"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ListProperty Select="ForceCheckout"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="IsCheckedoutToLocal"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="PermMask"/>                  </ScriptQuote>                  <HTML><![CDATA[')">]]></HTML>                  <GetVar Name="DocIconImg"/>                  <GetVar Name="DocIconOverlayImg"/>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{105f76ce-724a-4bba-aece-f81f2fce58f5}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="ServerUrl" DisplayName="Server Relative URL" Filterable="FALSE" RenderXMLUsingPattern="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="ServerUrl" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileRef"/>            </FieldRefs>            <DisplayPattern>              <HTML>/</HTML>              <LookupColumn Name="FileRef"/>            </DisplayPattern>          </Field>          <Field ID="{7177cfc7-f399-4d4d-905d-37dd51bc90bf}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="EncodedAbsUrl" DisplayName="Encoded Absolute URL" Filterable="FALSE" RenderXMLUsingPattern="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="EncodedAbsUrl" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileRef"/>            </FieldRefs>            <DisplayPattern>              <HttpHost URLEncodeAsURL="TRUE"/>              <HTML>/</HTML>              <LookupColumn Name="FileRef" IncludeVersions="TRUE" URLEncodeAsURL="TRUE"/>            </DisplayPattern>          </Field>          <Field ID="{7615464b-559e-4302-b8e2-8f440b913101}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="BaseName" DisplayName="Name" Filterable="FALSE" RenderXMLUsingPattern="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="BaseName" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FSObjType"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                </Then>                <Else>                  <UrlBaseName HTMLEncode="TRUE">                    <LookupColumn Name="FileLeafRef"/>                  </UrlBaseName>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{78a07ba4-bda8-4357-9e0f-580d64487583}" Type="Computed" ReadOnly="TRUE" Name="FileSizeDisplay" DisplayName="File Size" AuthoringInfo="" SourceID="http://bit.ly/2evXbnJ" StaticName="FileSizeDisplay" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="File_x0020_Size"/>              <FieldRef Name="FSObjType"/>            </FieldRefs>            <DisplayPattern>              <Switch>                <Expr>                  <LookupColumn Name="FSObjType"/>                </Expr>                <Case Value="0">                  <LookupColumn Name="File_x0020_Size"/>                  <HTML> KB</HTML>                </Case>              </Switch>            </DisplayPattern>          </Field>          <Field ID="{687c7f94-686a-42d3-9b67-2782eac4b4f8}" Name="MetaInfo" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Property Bag" List="Docs" FieldRef="ID" ShowField="MetaInfo" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="MetaInfo" FromBaseType="TRUE"/>          <Field ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" ColName="tp_Level" RowOrdinal="0" ReadOnly="TRUE" Type="Integer" Name="_Level" DisplaceOnUpgrade="TRUE" DisplayName="Level" Hidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_Level" FromBaseType="TRUE"/>          <Field ID="{c101c3e7-122d-4d4d-bc34-58e94a38c816}" ColName="tp_IsCurrentVersion" DisplaceOnUpgrade="TRUE" RowOrdinal="0" ReadOnly="TRUE" Type="Boolean" Name="_IsCurrentVersion" DisplayName="Is Current Version" Hidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_IsCurrentVersion" FromBaseType="TRUE"/>          <Field ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" Name="ItemChildCount" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Child Count" List="Docs" FieldRef="ID" ShowField="ItemChildCount" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ItemChildCount" FromBaseType="TRUE"/>          <Field ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" Name="FolderChildCount" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Folder Child Count" List="Docs" FieldRef="ID" ShowField="FolderChildCount" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FolderChildCount" FromBaseType="TRUE"/>          <Field ID="{6bfaba20-36bf-44b5-a1b2-eb6346d49716}" ColName="tp_AppAuthor" RowOrdinal="0" ReadOnly="TRUE" Hidden="FALSE" Type="Lookup" List="AppPrincipals" Name="AppAuthor" DisplayName="App Created By" ShowField="Title" JoinColName="Id" SourceID="http://bit.ly/2evXbnJ" StaticName="AppAuthor" FromBaseType="TRUE"/>          <Field ID="{e08400f3-c779-4ed2-a18c-ab7f34caa318}" ColName="tp_AppEditor" RowOrdinal="0" ReadOnly="TRUE" Hidden="FALSE" Type="Lookup" List="AppPrincipals" Name="AppEditor" DisplayName="App Modified By" ShowField="Title" JoinColName="Id" SourceID="http://bit.ly/2evXbnJ" StaticName="AppEditor" FromBaseType="TRUE"/>          <Field ID="{b1f7969b-ea65-42e1-8b54-b588292635f2}" ReadOnly="TRUE" Type="Computed" Name="SelectTitle" Filterable="FALSE" Sortable="FALSE" Hidden="TRUE" CanToggleHidden="TRUE" DisplayName="Select" Dir="" AuthoringInfo="(web part connection)" HeaderImage="blank.gif" SourceID="http://bit.ly/2evXbnJ" StaticName="SelectTitle" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ID"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <GetVar Name="SelectedID"/>                </Expr1>                <Expr2>                  <Column Name="ID"/>                </Expr2>                <Then>                  <HTML><![CDATA[<img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbsel.gif?rev=23" alt="]]></HTML>                  <HTML>Selected</HTML>                  <HTML><![CDATA["/>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[<a href="javascript:SelectField(']]></HTML>                  <GetVar Name="View"/>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="ID"/>                  </ScriptQuote>                  <HTML><![CDATA[');return false;" onclick="javascript:SelectField(']]></HTML>                  <GetVar Name="View"/>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="ID"/>                  </ScriptQuote>                  <HTML><![CDATA[');return false;" target="_self">]]></HTML>                  <HTML><![CDATA[<img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbunsel.gif?rev=23"  alt="]]></HTML>                  <HTML>Normal</HTML>                  <HTML><![CDATA["/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{5f47e085-2150-41dc-b661-442f3027f552}" ReadOnly="TRUE" Type="Computed" Name="SelectFilename" DisplayName="Select" Hidden="TRUE" CanToggleHidden="TRUE" Sortable="FALSE" Filterable="FALSE" AuthoringInfo="(web part connection)" HeaderImage="blank.gif" SourceID="http://bit.ly/2evXbnJ" StaticName="SelectFilename" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ID"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <GetVar Name="SelectedID"/>                </Expr1>                <Expr2>                  <Column Name="ID"/>                </Expr2>                <Then>                  <HTML><![CDATA[<img align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbsel.gif?rev=23" alt="]]></HTML>                  <HTML>Selected</HTML>                  <HTML><![CDATA["/>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[<a href="javascript:SelectField(']]></HTML>                  <GetVar Name="View"/>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="ID"/>                  </ScriptQuote>                  <HTML><![CDATA[');return false;" onclick="javascript:SelectField(']]></HTML>                  <GetVar Name="View"/>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="ID"/>                  </ScriptQuote>                  <HTML><![CDATA[');return false;" target="_self">]]></HTML>                  <HTML><![CDATA[<img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbunsel.gif?rev=23"  alt="]]></HTML>                  <HTML>Normal</HTML>                  <HTML><![CDATA["/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{503f1caa-358e-4918-9094-4a2cdc4bc034}" ReadOnly="TRUE" Type="Computed" Name="Edit" Sortable="FALSE" Filterable="FALSE" DisplayName="Edit" ClassInfo="Icon" AuthoringInfo="(link to edit item)" SourceID="http://bit.ly/2evXbnJ" StaticName="Edit" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="IsCheckedoutToLocal"/>              <FieldRef Name="ServerUrl"/>              <FieldRef Name="CheckedOutUserId"/>            </FieldRefs>            <DisplayPattern>              <IfHasRights>                <RightsChoices>                  <RightsGroup PermEditListItems="required"/>                </RightsChoices>                <Then>                  <HTML><![CDATA[<a href="]]></HTML>                  <URL Cmd="Edit"/>                  <HTML><![CDATA[" onclick="EditItemWithCheckoutAlert(event, this.href, ']]></HTML>                  <IfEqual>                    <Expr1>                      <ListProperty Select="ForceCheckout"/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <IfEqual>                        <Expr1>                          <Field Name="CheckedOutUserId"/>                        </Expr1>                        <Expr2/>                        <Then>                          <IfEqual>                            <Expr1>                              <LookupColumn Name="FSObjType"/>                            </Expr1>                            <Expr2>1</Expr2>                            <Then>                              <HTML><![CDATA[0]]></HTML>                            </Then>                            <Else>                              <HTML><![CDATA[1]]></HTML>                            </Else>                          </IfEqual>                        </Then>                        <Else>                          <HTML><![CDATA[0]]></HTML>                        </Else>                      </IfEqual>                    </Then>                    <Else>                      <HTML><![CDATA[0]]></HTML>                    </Else>                  </IfEqual>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="IsCheckedoutToLocal"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="ServerUrl"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <HttpVDir/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="CheckedOutUserId"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <UserID AllowAnonymous="TRUE"/>                  </ScriptQuote>                  <HTML><![CDATA[') ;return false;" target="_self">]]></HTML>                  <HTML><![CDATA[<img border="0" alt="]]></HTML>                  <HTML>Edit Document Properties</HTML>                  <HTML><![CDATA[" src="/_layouts/images/edititem.gif"/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[160;]]></HTML>                </Else>              </IfHasRights>            </DisplayPattern>          </Field>          <Field ID="{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}" ColName="tp_Version" RowOrdinal="0" Hidden="TRUE" ReadOnly="TRUE" Type="Integer" SetAs="owshiddenversion" Name="owshiddenversion" DisplayName="owshiddenversion" SourceID="http://bit.ly/2evXbnJ" StaticName="owshiddenversion" FromBaseType="TRUE"/>          <Field ID="{7841bf41-43d0-4434-9f50-a673baef7631}" ColName="tp_UIVersion" RowOrdinal="0" ReadOnly="TRUE" Type="Integer" Name="_UIVersion" DisplaceOnUpgrade="TRUE" DisplayName="UI Version" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_UIVersion" FromBaseType="TRUE"/>          <Field ID="{dce8262a-3ae9-45aa-aab4-83bd75fb738a}" ColName="tp_UIVersionString" RowOrdinal="0" ReadOnly="TRUE" Type="Text" Name="_UIVersionString" DisplaceOnUpgrade="TRUE" DisplayName="Version" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_UIVersionString" FromBaseType="TRUE"/>          <Field ID="{50a54da4-1528-4e67-954a-e2d24f1e9efb}" Name="InstanceID" DisplayName="Instance ID" ColName="tp_InstanceID" RowOrdinal="0" ReadOnly="TRUE" Hidden="TRUE" Type="Integer" Min="0" Max="99991231" Filterable="TRUE" Sortable="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="InstanceID" FromBaseType="TRUE"/>          <Field ID="{ca4addac-796f-4b23-b093-d2a3f65c0774}" ColName="tp_ItemOrder" RowOrdinal="0" Name="Order" DisplayName="Order" Type="Number" Hidden="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Order" FromBaseType="TRUE"/>          <Field ID="{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}" ColName="tp_GUID" RowOrdinal="0" ReadOnly="TRUE" Hidden="TRUE" Type="Guid" Name="GUID" DisplaceOnUpgrade="TRUE" DisplayName="GUID" SourceID="http://bit.ly/2evXbnJ" StaticName="GUID" FromBaseType="TRUE"/>          <Field ID="{f1e020bc-ba26-443f-bf2f-b68715017bbc}" ColName="tp_WorkflowVersion" RowOrdinal="0" Hidden="TRUE" ReadOnly="TRUE" Type="Integer" Name="WorkflowVersion" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Version" SourceID="http://bit.ly/2evXbnJ" StaticName="WorkflowVersion" FromBaseType="TRUE"/>          <Field ID="{de8beacf-5505-47cd-80a6-aa44e7ffe2f4}" ColName="tp_WorkflowInstanceID" RowOrdinal="0" ReadOnly="TRUE" Hidden="TRUE" Type="Guid" Name="WorkflowInstanceID" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Instance ID" SourceID="http://bit.ly/2evXbnJ" StaticName="WorkflowInstanceID" FromBaseType="TRUE"/>          <Field ID="{bc1a8efb-0f4c-49f8-a38f-7fe22af3d3e0}" Name="ParentVersionString" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" DisplayName="Source Version (Converted Document)" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="ParentVersionString" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ParentVersionString" FromBaseType="TRUE"/>          <Field ID="{774eab3a-855f-4a34-99da-69dc21043bec}" Name="ParentLeafName" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" DisplayName="Source Name (Converted Document)" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="ParentLeafName" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ParentLeafName" FromBaseType="TRUE"/>          <Field ID="{8e69e8e8-df8a-45dc-858a-1b806dde24c0}" Name="DocConcurrencyNumber" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ReadOnly="TRUE" DisplayName="Document Concurrency Number" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="DocConcurrencyNumber" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="DocConcurrencyNumber" FromBaseType="TRUE"/>          <Field ID="{e52012a0-51eb-4c0c-8dfb-9b8a0ebedcb6}" ReadOnly="TRUE" Type="Computed" Name="Combine" DisplaceOnUpgrade="TRUE" DisplayName="Merge" Filterable="FALSE" Sortable="FALSE" Hidden="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Combine">            <FieldRefs>              <FieldRef Name="FSObjType" Key="Primary"/>              <FieldRef Name="EncodedAbsUrl"/>              <FieldRef Name="TemplateUrl"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <Field Name="FSObjType"/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <HTML><![CDATA[<input id="chkCombine" type="CHECKBOX" title="Merge]]" href="]]></HTML>                  <Field Name="EncodedAbsUrl"/>                  <HTML><![CDATA[">]]></HTML>                  <HTML><![CDATA[<input id="chkUrl" type="HIDDEN" href="]]></HTML>                  <Column Name="TemplateUrl" HTMLEncode="TRUE"/>                  <HTML><![CDATA[">]]></HTML>                  <HTML><![CDATA[<input id="chkProgID" type="HIDDEN" href="]]></HTML>                  <MapToControl>                    <HTML>|</HTML>                    <GetFileExtension>                      <Column Name="TemplateUrl" HTMLEncode="TRUE"/>                    </GetFileExtension>                  </MapToControl>                  <HTML><![CDATA[">]]></HTML>                </Then>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{5d36727b-bcb2-47d2-a231-1f0bc63b7439}" ReadOnly="TRUE" Type="Computed" Name="RepairDocument" DisplaceOnUpgrade="TRUE" DisplayName="Relink" Filterable="FALSE" Sortable="FALSE" Hidden="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="RepairDocument">            <FieldRefs>              <FieldRef Name="FSObjType" Key="Primary"/>              <FieldRef Name="ID"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <Field Name="FSObjType"/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <HTML><![CDATA[<input id="chkRepair" type="CHECKBOX" title="Relink" docid="]]></HTML>                  <Field Name="ID"/>                  <HTML><![CDATA[">]]></HTML>                </Then>              </IfEqual>            </DisplayPattern>          </Field>        </Fields>        <ContentTypes>          <ContentType ID="0x0101005841B6968E02404B96D5E429EDA1FA59" Name="Document" Group="Document Content Types" Description="Create a new document." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}">            <Folder TargetName="Forms/Document"/>            <FieldRefs>              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{5f47e085-2150-41dc-b661-442f3027f552}" Name="SelectFilename"/>              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE"/>              <FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Name="Created" Hidden="TRUE"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" ShowInNewForm="FALSE" ShowInEditForm="TRUE"/>              <FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" Hidden="TRUE"/>              <FieldRef ID="{822c78e3-1ea9-4943-b449-57863ad33ca9}" Name="Modified_x0020_By" Hidden="FALSE"/>              <FieldRef ID="{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}" Name="Created_x0020_By" Hidden="FALSE"/>            </FieldRefs>            <XmlDocuments>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x012000F883BB94D64DA645A4434A87E0A7F82E" Name="Folder" Group="Folder Content Types" Description="Create a new folder." Sealed="TRUE" Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}">            <FieldRefs>              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="TRUE"/>              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE" Hidden="FALSE"/>              <FieldRef ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" Name="ItemChildCount"/>              <FieldRef ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" Name="FolderChildCount"/>            </FieldRefs>            <XmlDocuments>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x01010900E9216EC6C932CA40BD6E7943876C456A" Name="Basic Page" Group="Document Content Types" Description="Create a new basic page." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}">            <Folder TargetName="Forms/Basic Page"/>            <FieldRefs>              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{5f47e085-2150-41dc-b661-442f3027f552}" Name="SelectFilename"/>              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE"/>              <FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Name="Created" Hidden="TRUE"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" ShowInNewForm="FALSE" ShowInEditForm="TRUE"/>              <FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" Hidden="TRUE"/>              <FieldRef ID="{822c78e3-1ea9-4943-b449-57863ad33ca9}" Name="Modified_x0020_By" Hidden="FALSE"/>              <FieldRef ID="{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}" Name="Created_x0020_By" Hidden="FALSE"/>            </FieldRefs>            <DocumentTemplate TargetName="/_layouts/15/bpcf.aspx"/>            <XmlDocuments>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x01010200D5963C4B37B9CF43A3BA30F1653E9C90" Name="Picture" Group="Document Content Types" Description="Upload an image or a photograph." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}">            <Folder TargetName="Forms/Picture"/>            <FieldRefs>              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{5f47e085-2150-41dc-b661-442f3027f552}" Name="SelectFilename"/>              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE"/>              <FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Name="Created" Hidden="TRUE"/>              <FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" Hidden="TRUE"/>              <FieldRef ID="{822c78e3-1ea9-4943-b449-57863ad33ca9}" Name="Modified_x0020_By" Hidden="FALSE"/>              <FieldRef ID="{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}" Name="Created_x0020_By" Hidden="FALSE"/>              <FieldRef ID="{8c0d0aac-9b76-4951-927a-2490abe13c0b}" Name="PreviewOnForm"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" ShowInNewForm="FALSE" ShowInFileDlg="FALSE"/>              <FieldRef ID="{c53a03f3-f930-4ef2-b166-e0f2210c13c0}" Name="FileType"/>              <FieldRef ID="{922551b8-c7e0-46a6-b7e3-3cf02917f68a}" Name="ImageSize"/>              <FieldRef ID="{7e68a0f9-af76-404c-9613-6f82bc6dc28c}" Name="ImageWidth"/>              <FieldRef ID="{1944c034-d61b-42af-aa84-647f2e74ca70}" Name="ImageHeight"/>              <FieldRef ID="{a5d2f824-bc53-422e-87fd-765939d863a5}" Name="ImageCreateDate"/>              <FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}" Name="Comments" ShowInNewForm="FALSE" ShowInFileDlg="FALSE"/>              <FieldRef ID="{b9e6f3ae-5632-4b13-b636-9d1a2bd67120}" Name="EncodedAbsThumbnailUrl"/>              <FieldRef ID="{a1ca0063-779f-49f9-999c-a4a2e3645b07}" Name="EncodedAbsWebImgUrl"/>              <FieldRef ID="{7ebf72ca-a307-4c18-9e5b-9d89e1dae74f}" Name="SelectedFlag"/>              <FieldRef ID="{76d1cc87-56de-432c-8a2a-16e5ba5331b3}" Name="NameOrTitle"/>              <FieldRef ID="{de1baa4b-2117-473b-aa0c-4d824034142d}" Name="RequiredField"/>              <FieldRef ID="{b66e9b50-a28e-469b-b1a0-af0e45486874}" Name="Keywords" ShowInNewForm="FALSE" ShowInFileDlg="FALSE"/>              <FieldRef ID="{ac7bb138-02dc-40eb-b07a-84c15575b6e9}" Name="Thumbnail"/>              <FieldRef ID="{bd716b26-546d-43f2-b229-62699581fa9f}" Name="Preview"/>              <FieldRef ID="{1f43cd21-53c5-44c5-8675-b8bb86083244}" Name="ThumbnailExists"/>              <FieldRef ID="{3ca8efcd-96e8-414f-ba90-4c8c4a8bfef8}" Name="PreviewExists"/>              <FieldRef ID="{f39d44af-d3f3-4ae6-b43f-ac7330b5e9bd}" Name="AlternateThumbnailUrl"/>            </FieldRefs>            <DocumentTemplate TargetName="/_layouts/15/upload.aspx"/>            <XmlDocuments>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x01010100D50E45BD774B0D45BA56CB41A920A7D7" Name="Form" Group="Document Content Types" Description="Fill out this form." Version="1" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}">            <Folder TargetName="Forms/Form"/>            <FieldRefs>              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{5f47e085-2150-41dc-b661-442f3027f552}" Name="SelectFilename"/>              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE"/>              <FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Name="Created" Hidden="TRUE"/>              <FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" Hidden="TRUE"/>              <FieldRef ID="{822c78e3-1ea9-4943-b449-57863ad33ca9}" Name="Modified_x0020_By" Hidden="FALSE"/>              <FieldRef ID="{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}" Name="Created_x0020_By" Hidden="FALSE"/>              <FieldRef ID="{e52012a0-51eb-4c0c-8dfb-9b8a0ebedcb6}" Name="Combine"/>              <FieldRef ID="{086f2b30-460c-4251-b75a-da88a5b205c1}" Name="ShowCombineView"/>              <FieldRef ID="{5d36727b-bcb2-47d2-a231-1f0bc63b7439}" Name="RepairDocument"/>              <FieldRef ID="{11851948-b05e-41be-9d9f-bc3bf55d1de3}" Name="ShowRepairView"/>              <FieldRef ID="{4b1bf6c6-4f39-45ac-acd5-16fe7a214e5e}" Name="TemplateUrl"/>              <FieldRef ID="{cd1ecb9f-dd4e-4f29-ab9e-e9ff40048d64}" Name="xd_ProgID"/>            </FieldRefs>            <DocumentTemplate TargetName="Forms/Form/template.dotx"/>            <XmlDocuments>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>        </ContentTypes>        <Forms>          <Form Type="DisplayForm" Name="{F62DF496-96AC-47EC-923B-C85A77D77790}" Url="Test Document Library/Forms/DispForm.aspx" Default="TRUE" FormID="0"/>          <Form Type="EditForm" Name="{833EB309-9AE9-49C3-A9C3-E4CE9E6F81B5}" Url="Test Document Library/Forms/EditForm.aspx" Default="TRUE" FormID="0"/>          <Form Type="NewForm" Name="{72B72D78-E83D-4652-B723-0ECB85F12097}" Url="Test Document Library/Forms/Upload.aspx" Default="TRUE" FormID="0"/>        </Forms>        <Security>          <ReadSecurity>1</ReadSecurity>          <WriteSecurity>1</WriteSecurity>          <SchemaSecurity>0</SchemaSecurity>        </Security>        <DocumentLibraryTemplate>Test Document Library/Forms/template.dotx</DocumentLibraryTemplate>        <Receivers>          <Receiver>            <Name>Content Following Item Updated Event Receiver 101</Name>            <Synchronization>2</Synchronization>            <Type>10002</Type>            <SequenceNumber>10000</SequenceNumber>            <Assembly>Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>            <Class>Microsoft.Office.Server.UserProfiles.ContentFollowingItemEventReceiver</Class>            <Data></Data>          </Receiver>        </Receivers>      </MetaData>    </List>    <List Name="{592B2A0B-45C5-4A2D-9F05-04444E50150E}" Title="Test1WithMultipleContentTypes" Description="" Direction="0" BaseType="0" FeatureId="{00BFEA71-DE22-43B2-A848-C05709900100}" ServerTemplate="100" Url="Lists/Test1WithMultipleContentTypes" FolderCreation="FALSE" EnableContentTypes="TRUE" NavigateForFormsPages="TRUE" BrowserFileHandling="permissive" Version="14">      <MetaData>        <Views>          <View Name="{C09088E3-0D25-4B40-9AA2-33033143CC0C}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="Lists/Test1WithMultipleContentTypes/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=23">            <XslLink Default="TRUE">main.xsl</XslLink>            <JSLink>clienttemplates.js</JSLink>            <RowLimit Paged="TRUE">30</RowLimit>            <Toolbar Type="Standard"/>            <ViewFields>              <FieldRef Name="LinkTitle"/>            </ViewFields>            <Query>              <OrderBy>                <FieldRef Name="ID"/>              </OrderBy>            </Query>            <ParameterBindings>              <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)"/>              <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)"/>            </ParameterBindings>          </View>          <View Name="{58A38F2B-BCFC-44F6-BD1C-5E44E014AFAF}" MobileView="TRUE" Type="HTML" DisplayName="testview" Url="Lists/Test1WithMultipleContentTypes/testview.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=23">            <ViewFields>              <FieldRef Name="EDRMSAction"/>              <FieldRef Name="EDRMSActualCloseddate"/>              <FieldRef Name="EDRMSAuditContact"/>              <FieldRef Name="EDRMSD_TSpendValuerequested"/>              <FieldRef Name="ItemChildCount"/>            </ViewFields>            <ViewData/>            <Query/>            <Aggregations Value="Off"/>            <RowLimit Paged="TRUE">30</RowLimit>            <Mobile MobileItemLimit="3" MobileSimpleViewField="EDRMSAction"/>            <XslLink Default="TRUE">main.xsl</XslLink>            <JSLink>clienttemplates.js</JSLink>            <Toolbar Type="Standard"/>            <ParameterBindings>              <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)"/>              <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)"/>            </ParameterBindings>          </View>          <View Name="{7D342A66-6550-413A-BAD0-B63FFE9C2E44}" MobileView="TRUE" Type="CALENDAR" Scope="Recursive" DisplayName="calendar test" Url="Lists/Test1WithMultipleContentTypes/calendar test.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=23">            <ViewFields>              <FieldRef Name="EDRMSActualCloseddate"/>              <FieldRef Name="EDRMSActualCloseddate"/>              <FieldRef Name="Title"/>            </ViewFields>            <CalendarViewStyles>&lt;CalendarViewStyle  Title=39;Day39; Type=39;day39; Template=39;CalendarViewdayChrome39; Sequence=39;139; Default=39;FALSE39; /&gt;&lt;CalendarViewStyle  Title=39;Week39; Type=39;week39; Template=39;CalendarViewweekChrome39; Sequence=39;239; Default=39;FALSE39; /&gt;&lt;CalendarViewStyle  Title=39;Month39; Type=39;month39; Template=39;CalendarViewmonthChrome39; Sequence=39;339; Default=39;TRUE39; /&gt;</CalendarViewStyles>            <ViewData>              <FieldRef Name="EDRMSAction" Type="CalendarMonthTitle"/>              <FieldRef Name="EDRMSCurrentstatus" Type="CalendarWeekTitle"/>              <FieldRef Name="EDRMSD_TSpendValuerequested" Type="CalendarWeekLocation"/>              <FieldRef Name="EDRMSCurrentstatus" Type="CalendarDayTitle"/>              <FieldRef Name="EDRMSD_TSpendValuerequested" Type="CalendarDayLocation"/>            </ViewData>            <Query>              <Where>                <And>                  <DateRangesOverlap>                    <FieldRef Name="EDRMSActualCloseddate"/>                    <FieldRef Name="EDRMSActualCloseddate"/>                    <Value Type="DateTime">                      <Month/>                    </Value>                  </DateRangesOverlap>                  <Eq>                    <FieldRef Name="EDRMSCurrentstatus"/>                    <Value Type="Text">Active</Value>                  </Eq>                </And>              </Where>            </Query>            <Aggregations Value="Off"/>            <RowLimit>0</RowLimit>            <Mobile MobileItemLimit="3"/>            <XslLink Default="TRUE">main.xsl</XslLink>            <JSLink>clienttemplates.js</JSLink>            <Toolbar Type="Standard"/>            <ParameterBindings>              <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)"/>              <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)"/>            </ParameterBindings>          </View>        </Views>        <Fields>          <Field ID="{03e45e84-1992-4d42-9116-26f756012634}" RowOrdinal="0" Type="ContentTypeId" Sealed="TRUE" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Content Type ID" Name="ContentTypeId" DisplaceOnUpgrade="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="ContentTypeId" ColName="tp_ContentTypeId" FromBaseType="TRUE"/>          <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Title" FromBaseType="TRUE" ColName="nvarchar1"/>          <Field ID="{34ad21eb-75bd-4544-8c73-0e08330291fe}" ReadOnly="TRUE" Type="Note" Name="_ModerationComments" DisplayName="Approver Comments" Hidden="TRUE" CanToggleHidden="TRUE" Filterable="FALSE" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_ModerationComments" FromBaseType="TRUE" ColName="ntext1"/>          <Field ID="{39360f11-34cf-4356-9945-25c44e68dade}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="File_x0020_Type" DisplaceOnUpgrade="TRUE" DisplayName="File Type" SourceID="http://bit.ly/2evXbnJ" StaticName="File_x0020_Type" FromBaseType="TRUE" ColName="nvarchar2"/>          <Field Type="Note" Name="EDRMSAction" ID="{f4f3e946-d979-4ff5-8223-c8f01ebc3347}" Description="" DisplayName="Action" StaticName="EDRMSAction" Group="EDRMS" Hidden="FALSE" Required="FALSE" Sealed="FALSE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInListSettings="TRUE" ShowInNewForm="TRUE" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" AllowDeletion="TRUE" Customization="" ColName="ntext2" RowOrdinal="0"/>          <Field Type="DateTime" Name="EDRMSActualCloseddate" ID="{e67580c2-9226-40bf-8f34-5973dba37397}" Description="" DisplayName="Actual Closed date" StaticName="EDRMSActualCloseddate" Group="EDRMS" Hidden="FALSE" Required="FALSE" Sealed="FALSE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInListSettings="TRUE" ShowInNewForm="TRUE" Format="DateOnly" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" AllowDeletion="TRUE" Customization="" ColName="datetime1" RowOrdinal="0"/>          <Field Type="Note" DisplayName="Assurance Type_0" StaticName="p1ddcb168b464625aa2588fc1e161f6c" Name="p1ddcb168b464625aa2588fc1e161f6c" ID="{11bfcac9-af7d-48dc-b893-37fe198ac105}" ShowInViewForms="FALSE" Required="FALSE" CanToggleHidden="TRUE" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" AllowDeletion="TRUE" Hidden="TRUE" Customization="" ColName="ntext3" RowOrdinal="0"/>          <Field Type="LookupMulti" DisplayName="Taxonomy Catch All Column" StaticName="TaxCatchAll" Name="TaxCatchAll" ID="{f3b0adf9-c1a2-4b02-920d-943fba4b3611}" ShowInViewForms="FALSE" List="{15c95bf2-06cb-45a2-b11e-e96180856bbd}" WebId="39f2fce7-342b-4950-ad06-4a30a163b30f" Required="FALSE" CanToggleHidden="TRUE" ShowField="CatchAllData" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" Mult="TRUE" Sortable="FALSE" AllowDeletion="TRUE" Sealed="TRUE" Hidden="TRUE" Version="2" Customization="" ColName="int1" RowOrdinal="0"/>          <Field Type="LookupMulti" DisplayName="Taxonomy Catch All Column1" StaticName="TaxCatchAllLabel" Name="TaxCatchAllLabel" ID="{8f6b6dd8-9357-4019-8172-966fcd502ed2}" ShowInViewForms="FALSE" List="{15c95bf2-06cb-45a2-b11e-e96180856bbd}" WebId="39f2fce7-342b-4950-ad06-4a30a163b30f" Required="FALSE" CanToggleHidden="TRUE" ShowField="CatchAllDataLabel" FieldRef="{F3B0ADF9-C1A2-4b02-920D-943FBA4B3611}" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" Mult="TRUE" Sortable="FALSE" AllowDeletion="TRUE" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Version="2" Customization=""/>          <Field Type="Text" Name="EDRMSAuditContact" ID="{978a583c-0ee7-4423-8db5-d63860d6f814}" Description="" DisplayName="Audit Contact" StaticName="EDRMSAuditContact" Group="EDRMS" Hidden="FALSE" Required="FALSE" Sealed="FALSE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInListSettings="TRUE" ShowInNewForm="TRUE" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" AllowDeletion="TRUE" Customization="" ColName="nvarchar3" RowOrdinal="0"/>          <Field Type="Choice" Name="EDRMSCurrentstatus" ID="{30f91207-2921-489a-8d95-4aff394692b3}" Description="" DisplayName="Current status" StaticName="EDRMSCurrentstatus" Group="EDRMS" Hidden="FALSE" Required="FALSE" Sealed="FALSE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInListSettings="TRUE" ShowInNewForm="TRUE" Format="Dropdown" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" AllowDeletion="TRUE" Customization="" ColName="nvarchar4" RowOrdinal="0">            <Default>Open</Default>            <CHOICES>              <CHOICE>Open</CHOICE>              <CHOICE>Closed</CHOICE>              <CHOICE>In Prohgress</CHOICE>            </CHOICES>          </Field>          <Field Type="Currency" Name="EDRMSD_TSpendValuerequested" ID="{db74e757-efb1-4735-b300-e232027c891a}" Description="" DisplayName="D  T Spend Value requested" StaticName="EDRMSD_TSpendValuerequested" Group="EDRMS" Hidden="FALSE" Required="FALSE" Sealed="FALSE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInListSettings="TRUE" ShowInNewForm="TRUE" SourceID="{f52ffc71-99ff-42c2-ad9c-88f88574918c}" AllowDeletion="TRUE" Customization="" ColName="float1" RowOrdinal="0"/>          <Field ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" ColName="tp_ID" RowOrdinal="0" ReadOnly="TRUE" Type="Counter" Name="ID" PrimaryKey="TRUE" DisplayName="ID" SourceID="http://bit.ly/2evXbnJ" StaticName="ID" FromBaseType="TRUE"/>          <Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ContentTypeId"/>            </FieldRefs>            <DisplayPattern>              <MapToContentType>                <Column Name="ContentTypeId"/>              </MapToContentType>            </DisplayPattern>          </Field>          <Field ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" ColName="tp_Modified" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Modified" DisplayName="Modified" StorageTZ="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Modified" FromBaseType="TRUE"/>          <Field ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" ColName="tp_Created" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Created" DisplayName="Created" StorageTZ="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Created" FromBaseType="TRUE"/>          <Field ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" ColName="tp_Author" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Author" DisplayName="Created By" SourceID="http://bit.ly/2evXbnJ" StaticName="Author" FromBaseType="TRUE"/>          <Field ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" ColName="tp_Editor" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Editor" DisplayName="Modified By" SourceID="http://bit.ly/2evXbnJ" StaticName="Editor" FromBaseType="TRUE"/>          <Field ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" ColName="tp_HasCopyDestinations" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Boolean" Name="_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" SourceID="http://bit.ly/2evXbnJ" StaticName="_HasCopyDestinations" FromBaseType="TRUE"/>          <Field ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" ColName="tp_CopySource" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Text" Name="_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" SourceID="http://bit.ly/2evXbnJ" StaticName="_CopySource" FromBaseType="TRUE"/>          <Field ID="{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}" ColName="tp_Version" RowOrdinal="0" Hidden="TRUE" ReadOnly="TRUE" Type="Integer" SetAs="owshiddenversion" Name="owshiddenversion" DisplayName="owshiddenversion" SourceID="http://bit.ly/2evXbnJ" StaticName="owshiddenversion" FromBaseType="TRUE"/>          <Field ID="{f1e020bc-ba26-443f-bf2f-b68715017bbc}" ColName="tp_WorkflowVersion" RowOrdinal="0" Hidden="TRUE" ReadOnly="TRUE" Type="Integer" Name="WorkflowVersion" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Version" SourceID="http://bit.ly/2evXbnJ" StaticName="WorkflowVersion" FromBaseType="TRUE"/>          <Field ID="{7841bf41-43d0-4434-9f50-a673baef7631}" ColName="tp_UIVersion" RowOrdinal="0" ReadOnly="TRUE" Type="Integer" Name="_UIVersion" DisplaceOnUpgrade="TRUE" DisplayName="UI Version" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_UIVersion" FromBaseType="TRUE"/>          <Field ID="{dce8262a-3ae9-45aa-aab4-83bd75fb738a}" ColName="tp_UIVersionString" RowOrdinal="0" ReadOnly="TRUE" Type="Text" Name="_UIVersionString" DisplaceOnUpgrade="TRUE" DisplayName="Version" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_UIVersionString" FromBaseType="TRUE"/>          <Field ID="{67df98f4-9dec-48ff-a553-29bece9c5bf4}" ColName="tp_HasAttachment" RowOrdinal="0" Type="Attachments" Name="Attachments" DisplayName="Attachments" SourceID="http://bit.ly/2evXbnJ" StaticName="Attachments" FromBaseType="TRUE"/>          <Field ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" ColName="tp_ModerationStatus" RowOrdinal="0" ReadOnly="TRUE" Type="ModStat" Name="_ModerationStatus" DisplayName="Approval Status" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_ModerationStatus" FromBaseType="TRUE">            <CHOICES>              <CHOICE>0;#Approved</CHOICE>              <CHOICE>1;#Rejected</CHOICE>              <CHOICE>2;#Pending</CHOICE>              <CHOICE>3;#Draft</CHOICE>              <CHOICE>4;#Scheduled</CHOICE>            </CHOICES>            <Default>0</Default>          </Field>          <Field ID="{503f1caa-358e-4918-9094-4a2cdc4bc034}" ReadOnly="TRUE" Type="Computed" Name="Edit" Sortable="FALSE" Filterable="FALSE" DisplayName="Edit" ClassInfo="Icon" AuthoringInfo="(link to edit item)" SourceID="http://bit.ly/2evXbnJ" StaticName="Edit" FromBaseType="TRUE">            <DisplayPattern>              <IfHasRights>                <RightsChoices>                  <RightsGroup PermEditListItems="required"/>                </RightsChoices>                <Then>                  <HTML><![CDATA[<a href="]]></HTML>                  <URL Cmd="Edit"/>                  <HTML><![CDATA[" onclick="EditLink(this, ]]></HTML>                  <Counter Type="View"/>                  <HTML><![CDATA[);return false;" target="_self">]]></HTML>                  <HTML><![CDATA[<img border="0" alt="]]></HTML>                  <HTML>Edit</HTML>                  <HTML><![CDATA[" src="/_layouts/15/images/edititem.gif?rev=23"/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[160;]]></HTML>                </Else>              </IfHasRights>            </DisplayPattern>          </Field>          <Field ID="{bc91a437-52e7-49e1-8c4e-4698904b2b6d}" ReadOnly="TRUE" Type="Computed" Name="LinkTitleNoMenu" DisplayName="Title" Dir="" DisplayNameSrcField="Title" AuthoringInfo="(linked to item)" EnableLookup="TRUE" ListItemMenuAllowed="Prohibited" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkTitleNoMenu" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="Title"/>              <FieldRef Name="LinkFilenameNoMenu"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <Field Name="LinkFilenameNoMenu"/>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                  <URL/>                  <HTML><![CDATA[" onclick="EditLink2(this,]]></HTML>                  <Counter Type="View"/>                  <HTML><![CDATA[);return false;" target="_self">]]></HTML>                  <Column HTMLEncode="TRUE" Name="Title" Default="(no title)"/>                  <IfEqual>                    <Expr1>                      <GetVar Name="ShowAccessibleIcon"/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <HTML><![CDATA[<img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/>]]></HTML>                    </Then>                  </IfEqual>                  <HTML><![CDATA[</a>]]></HTML>                  <IfNew>                    <HTML><![CDATA[<img src="/_layouts/1033/images/new.gif" alt="]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[" class="ms-newgif" />]]></HTML>                  </IfNew>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" ReadOnly="TRUE" Type="Computed" Name="LinkTitle" DisplayName="Title" DisplayNameSrcField="Title" ClassInfo="Menu" AuthoringInfo="(linked to item with edit menu)" ListItemMenuAllowed="Required" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkTitle" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="Title"/>              <FieldRef Name="LinkTitleNoMenu"/>              <FieldRef Name="_EditMenuTableStart2"/>              <FieldRef Name="_EditMenuTableEnd"/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name="FreeForm"/>                </Expr>                <Case Value="TRUE">                  <Field Name="LinkTitleNoMenu"/>                </Case>                <Default>                  <HTML><![CDATA[
                                    ]]>                                    ]]></HTML>                  <HTML><![CDATA[
]]>                   ]]>                  ]]>                   ]]>                  ]]></HTML>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID="{5f190d91-3dbc-4489-9878-3c092caf35b6}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="LinkTitle2" DisplayName="Title" DisplayNameSrcField="Title" ClassInfo="Menu" AuthoringInfo="(linked to item with edit menu) (old)" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkTitle2" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="Title"/>              <FieldRef Name="LinkTitleNoMenu"/>              <FieldRef Name="_EditMenuTableStart"/>              <FieldRef Name="_EditMenuTableEnd"/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name="FreeForm"/>                </Expr>                <Case Value="TRUE">                  <Field Name="LinkTitleNoMenu"/>                </Case>                <Default>                  <Field Name="_EditMenuTableStart"/>                  <SetVar Name="ShowAccessibleIcon" Value="1"/>                  <Field Name="LinkTitleNoMenu"/>                  <SetVar Name="ShowAccessibleIcon" Value="0"/>                  <Field Name="_EditMenuTableEnd"/>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID="{b1f7969b-ea65-42e1-8b54-b588292635f2}" ReadOnly="TRUE" Type="Computed" Sortable="FALSE" Filterable="FALSE" Name="SelectTitle" Hidden="TRUE" CanToggleHidden="TRUE" DisplayName="Select" Dir="" AuthoringInfo="(web part connection)" HeaderImage="blank.gif" SourceID="http://bit.ly/2evXbnJ" StaticName="SelectTitle" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ID"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <GetVar Name="SelectedID"/>                </Expr1>                <Expr2>                  <Column Name="ID"/>                </Expr2>                <Then>                  <HTML><![CDATA[<img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbsel.gif?rev=23" alt="]]></HTML>                  <HTML>Selected</HTML>                  <HTML><![CDATA["/>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[<a href="javascript:SelectField(']]></HTML>                  <GetVar Name="View"/>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="ID"/>                  </ScriptQuote>                  <HTML><![CDATA[');return false;" onclick="javascript:SelectField(']]></HTML>                  <GetVar Name="View"/>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="ID"/>                  </ScriptQuote>                  <HTML><![CDATA[');return false;" target="_self">]]></HTML>                  <HTML><![CDATA[<img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbunsel.gif?rev=23"  alt="]]></HTML>                  <HTML>Normal</HTML>                  <HTML><![CDATA["/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{50a54da4-1528-4e67-954a-e2d24f1e9efb}" Name="InstanceID" DisplayName="Instance ID" ColName="tp_InstanceID" RowOrdinal="0" ReadOnly="TRUE" Hidden="TRUE" Type="Integer" Min="0" Max="99991231" Filterable="TRUE" Sortable="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="InstanceID" FromBaseType="TRUE"/>          <Field ID="{ca4addac-796f-4b23-b093-d2a3f65c0774}" ColName="tp_ItemOrder" RowOrdinal="0" Name="Order" DisplayName="Order" Type="Number" Hidden="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="Order" FromBaseType="TRUE"/>          <Field ID="{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}" ColName="tp_GUID" RowOrdinal="0" ReadOnly="TRUE" Hidden="TRUE" Type="Guid" Name="GUID" DisplayName="GUID" SourceID="http://bit.ly/2evXbnJ" StaticName="GUID" FromBaseType="TRUE"/>          <Field ID="{de8beacf-5505-47cd-80a6-aa44e7ffe2f4}" ColName="tp_WorkflowInstanceID" RowOrdinal="0" ReadOnly="TRUE" Hidden="TRUE" Type="Guid" Name="WorkflowInstanceID" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Instance ID" SourceID="http://bit.ly/2evXbnJ" StaticName="WorkflowInstanceID" FromBaseType="TRUE"/>          <Field ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Name="FileRef" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="URL Path" List="Docs" FieldRef="ID" ShowField="FullUrl" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileRef" FromBaseType="TRUE"/>          <Field ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" Name="FileDirRef" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="Path" List="Docs" FieldRef="ID" ShowField="DirName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileDirRef" FromBaseType="TRUE"/>          <Field ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" Name="Last_x0020_Modified" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Modified" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeLastModified" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="Last_x0020_Modified" FromBaseType="TRUE"/>          <Field ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Created" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeCreated" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="Created_x0020_Date" FromBaseType="TRUE"/>          <Field ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Name="FSObjType" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Type" List="Docs" FieldRef="ID" ShowField="FSType" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FSObjType" FromBaseType="TRUE"/>          <Field ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" Name="SortBehavior" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Sort Type" List="Docs" FieldRef="ID" ShowField="SortBehavior" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="SortBehavior" FromBaseType="TRUE"/>          <Field ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" Type="Computed" DisplayName="Effective Permissions Mask" SourceID="http://bit.ly/2evXbnJ" StaticName="PermMask" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="ID"/>            </FieldRefs>            <DisplayPattern>              <CurrentRights/>            </DisplayPattern>          </Field>          <Field ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Hidden="TRUE" ShowInFileDlg="FALSE" ShowInVersionHistory="FALSE" Type="File" Name="FileLeafRef" DisplaceOnUpgrade="TRUE" DisplayName="Name" AuthoringInfo="(for use in forms)" List="Docs" FieldRef="ID" ShowField="LeafName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FileLeafRef" FromBaseType="TRUE"/>          <Field ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" Name="UniqueId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Unique Id" List="Docs" FieldRef="ID" ShowField="UniqueId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="UniqueId" FromBaseType="TRUE"/>          <Field ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" Name="SyncClientId" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ReadOnly="TRUE" DisplayName="Client Id" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="SyncClientId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="SyncClientId" FromBaseType="TRUE"/>          <Field ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Name="ProgId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ProgId" List="Docs" FieldRef="ID" ShowField="ProgId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ProgId" FromBaseType="TRUE"/>          <Field ID="{dddd2420-b270-4735-93b5-92b713d0944d}" Name="ScopeId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ScopeId" List="Docs" FieldRef="ID" ShowField="ScopeId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ScopeId" FromBaseType="TRUE"/>          <Field ReadOnly="TRUE" ID="{4ef1b78f-fdba-48dc-b8ab-3fa06a0c9804}" Hidden="TRUE" Type="Computed" Name="HTML_x0020_File_x0020_Type" DisplaceOnUpgrade="TRUE" DisplayName="HTML File Type" SourceID="http://bit.ly/2evXbnJ" StaticName="HTML_x0020_File_x0020_Type" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="File_x0020_Type"/>            </FieldRefs>            <DisplayPattern/>          </Field>          <Field ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="_EditMenuTableStart" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" ClassInfo="Menu" SourceID="http://bit.ly/2evXbnJ" StaticName="_EditMenuTableStart" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FileDirRef"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="ID"/>              <FieldRef Name="ServerUrl"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="PermMask"/>              <FieldRef Name="_HasCopyDestinations"/>              <FieldRef Name="_CopySource"/>              <FieldRef Name="ContentType"/>              <FieldRef Name="ContentTypeId"/>              <FieldRef Name="_ModerationStatus"/>              <FieldRef Name="_UIVersion"/>            </FieldRefs>            <DisplayPattern>              <HTML><![CDATA[
                            " id="                            " Url="                            " DRef="                            " Perm="                            " type="                            " Ext="                            " Icon="                                              |                                            " OType="                            " COUId="              " HCD="                            " CSrc="                            " MS="                                                                                    " UIS="                                          " SUrl="              ]]>                                                                                                              " id="                                                                                                              ]]></HTML>              <HTML><![CDATA[
]]>               ]]>              ]]>               ]]>              ]]></HTML>            </DisplayPattern>          </Field>          <Field ID="{9d30f126-ba48-446b-b8f9-83745f322ebe}" ReadOnly="TRUE" Type="Computed" Name="LinkFilenameNoMenu" DisplaceOnUpgrade="TRUE" DisplayName="Name" Hidden="TRUE" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" AuthoringInfo="(linked to document)" ListItemMenuAllowed="Prohibited" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilenameNoMenu" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="Created_x0020_Date"/>              <FieldRef Name="FileRef"/>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="ContentTypeId"/>              <FieldRef Name="PermMask"/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name="RecursiveView"/>                    </Expr>                    <Case Value="1">                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                    </Case>                    <Default>                      <SetVar Name="UnencodedFilterLink">                        <SetVar Name="RootFolder">                          <HTML>/</HTML>                          <LookupColumn Name="FileRef"/>                        </SetVar>                        <SetVar Name="SkipHost">1</SetVar>                        <SetVar Name="FolderCTID">                          <FieldSwitch>                            <Expr>                              <ListProperty Select="EnableContentTypes"/>                            </Expr>                            <Case Value="1">                              <Column Name="ContentTypeId"/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default="" Paged="FALSE"/>                      </SetVar>                      <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                      <GetVar Name="UnencodedFilterLink" HTMLEncode="TRUE"/>                      <HTML><![CDATA[" onmousedown="javascript:VerifyFolderHref(this,event, ']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <GetVar Name="UnencodedFilterLink"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ListProperty Select="DefaultItemOpen"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <MapToControl>                          <Column Name="HTML_x0020_File_x0020_Type"/>                          <HTML>|</HTML>                          <Column Name="File_x0020_Type"/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Column Name="HTML_x0020_File_x0020_Type"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[')"]]></HTML>                      <HTML><![CDATA[" onclick="return HandleFolder(this,event, ']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <GetVar Name="UnencodedFilterLink"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ServerProperty Select="HtmlTransform"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ListProperty Select="DefaultItemOpen"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <MapToControl>                          <Column Name="HTML_x0020_File_x0020_Type"/>                          <HTML>|</HTML>                          <Column Name="File_x0020_Type"/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Column Name="HTML_x0020_File_x0020_Type"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <UserID AllowAnonymous="TRUE"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <ListProperty Select="ForceCheckout"/>                      </ScriptQuote>                      <HTML><![CDATA[',']]></HTML>                      <HTML><![CDATA[',']]></HTML>                      <ScriptQuote NotAddingQuote="TRUE">                        <Field Name="PermMask"/>                      </ScriptQuote>                      <HTML><![CDATA[');">]]></HTML>                      <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                      <IfEqual>                        <Expr1>                          <GetVar Name="ShowAccessibleIcon"/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <HTML><![CDATA[<img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/>]]></HTML>                        </Then>                      </IfEqual>                      <HTML><![CDATA[</a>]]></HTML>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                  <Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>                  <HTML><![CDATA[" onclick="return DispEx(this,event,']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ServerProperty Select="HtmlTransform"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <HTML><![CDATA[',']]></HTML>                  <HTML><![CDATA[',']]></HTML>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ListProperty Select="DefaultItemOpen"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <MapToControl>                      <Column Name="HTML_x0020_File_x0020_Type"/>                      <HTML>|</HTML>                      <Column Name="File_x0020_Type"/>                    </MapToControl>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Column Name="HTML_x0020_File_x0020_Type"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <HTML><![CDATA[',']]></HTML>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <UserID AllowAnonymous="TRUE"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <ListProperty Select="ForceCheckout"/>                  </ScriptQuote>                  <HTML><![CDATA[',']]></HTML>                  <HTML><![CDATA[',']]></HTML>                  <ScriptQuote NotAddingQuote="TRUE">                    <Field Name="PermMask"/>                  </ScriptQuote>                  <HTML><![CDATA[')">]]></HTML>                  <UrlBaseName HTMLEncode="TRUE">                    <LookupColumn Name="FileLeafRef"/>                  </UrlBaseName>                  <IfEqual>                    <Expr1>                      <GetVar Name="ShowAccessibleIcon"/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <HTML><![CDATA[<img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/>]]></HTML>                    </Then>                  </IfEqual>                  <HTML><![CDATA[</a>]]></HTML>                  <IfNew Name="Created_x0020_Date">                    <HTML><![CDATA[<img src="/_layouts/15/1033/images/new.gif" alt="]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[" class="ms-newgif" />]]></HTML>                  </IfNew>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{5cc6dc79-3710-4374-b433-61cb4a686c12}" ReadOnly="TRUE" Type="Computed" Name="LinkFilename" DisplaceOnUpgrade="TRUE" Hidden="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" ClassInfo="Menu" AuthoringInfo="(linked to document with edit menu)" ListItemMenuAllowed="Required" LinkToItemAllowed="Prohibited" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilename" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="LinkFilenameNoMenu"/>              <FieldRef Name="_EditMenuTableStart2"/>              <FieldRef Name="_EditMenuTableEnd"/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name="FreeForm"/>                </Expr>                <Case Value="TRUE">                  <Field Name="LinkFilenameNoMenu"/>                </Case>                <Default>                  <HTML><![CDATA[
                                    ]]>                                    ]]></HTML>                  <HTML><![CDATA[
]]>                   ]]>                  ]]>                   ]]>                  ]]></HTML>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID="{224ba411-da77-4050-b0eb-62d422f13d3e}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="LinkFilename2" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" ClassInfo="Menu" AuthoringInfo="(linked to document with edit menu) (old)" SourceID="http://bit.ly/2evXbnJ" StaticName="LinkFilename2" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="LinkFilenameNoMenu"/>              <FieldRef Name="_EditMenuTableStart"/>              <FieldRef Name="_EditMenuTableEnd"/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name="FreeForm"/>                </Expr>                <Case Value="TRUE">                  <Field Name="LinkFilenameNoMenu"/>                </Case>                <Default>                  <Field Name="_EditMenuTableStart"/>                  <SetVar Name="ShowAccessibleIcon" Value="1"/>                  <Field Name="LinkFilenameNoMenu"/>                  <SetVar Name="ShowAccessibleIcon" Value="0"/>                  <Field Name="_EditMenuTableEnd"/>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID="{081c6e4c-5c14-4f20-b23e-1a71ceb6a67c}" Type="Computed" ReadOnly="TRUE" Name="DocIcon" DisplaceOnUpgrade="TRUE" DisplayName="Type" TextOnly="TRUE" ClassInfo="Icon" AuthoringInfo="(icon linked to document)" SourceID="http://bit.ly/2evXbnJ" StaticName="DocIcon" FromBaseType="TRUE">            <FieldRefs>              <FieldRef Name="File_x0020_Type"/>              <FieldRef Name="FSObjType"/>              <FieldRef Name="FileRef"/>              <FieldRef Name="FileLeafRef"/>              <FieldRef Name="HTML_x0020_File_x0020_Type"/>              <FieldRef Name="PermMask"/>              <FieldRef Name="IconOverlay"/>            </FieldRefs>            <DisplayPattern>              <SetVar Name="DocIconImg">                <SetVar Name="DocIconAltText">                  <IfEqual>                    <Expr1>                      <LookupColumn Name="FSObjType"/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <IfSubString>                        <Expr1>0x0120D5</Expr1>                        <Expr2>                          <Column Name="ContentTypeId"/>                        </Expr2>                        <Then>                          <HTML>Document Collection: </HTML>                          <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                        </Then>                        <Else>                          <HTML>Folder: </HTML>                          <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                        </Else>                      </IfSubString>                    </Then>                    <Else>                      <LookupColumn Name="Title" HTMLEncode="TRUE"/>                    </Else>                  </IfEqual>                </SetVar>                <SetVar Name="DocIconFileName">                  <IfEqual>                    <Expr1>                      <Column Name="IconOverlay"/>                    </Expr1>                    <Expr2/>                    <Then>                      <IfEqual>                        <Expr1>                          <LookupColumn Name="FSObjType"/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <IfEqual>                            <Expr1>                              <Column Name="HTML_x0020_File_x0020_Type"/>                              <HTML>|</HTML>                              <Column Name="File_x0020_Type"/>                            </Expr1>                            <Expr2>                              <HTML>|</HTML>                            </Expr2>                            <Then>                              <HTML>folder.gif</HTML>                            </Then>                            <Else>                              <SetVar Name="FolderIconFromMap">                                <MapToIcon>                                  <Column Name="HTML_x0020_File_x0020_Type"/>                                  <HTML>|</HTML>                                  <Column Name="File_x0020_Type"/>                                </MapToIcon>                              </SetVar>                              <IfEqual>                                <Expr1>                                  <GetVar Name="FolderIconFromMap"/>                                </Expr1>                                <Expr2>                                  <MapToIcon/>                                </Expr2>                                <Then>                                  <HTML>folder.gif</HTML>                                </Then>                                <Else>                                  <GetVar Name="FolderIconFromMap"/>                                </Else>                              </IfEqual>                            </Else>                          </IfEqual>                        </Then>                        <Else>                          <MapToIcon>                            <Column Name="HTML_x0020_File_x0020_Type"/>                            <HTML>|</HTML>                            <Column Name="File_x0020_Type"/>                          </MapToIcon>                        </Else>                      </IfEqual>                    </Then>                    <Else>                      <MapToIcon>                        <Column Name="IconOverlay"/>                      </MapToIcon>                    </Else>                  </IfEqual>                </SetVar>                <HTML><![CDATA[<img border="0" alt="]]></HTML>                <GetVar Name="DocIconAltText"/>                <HTML><![CDATA[" title="]]></HTML>                <GetVar Name="DocIconAltText"/>                <HTML><![CDATA[" src="/_layouts/15/images/]]></HTML>                <GetVar Name="DocIconFileName"/>                <HTML><![CDATA[" />]]></HTML>              </SetVar>              <SetVar Name="DocIconOverlayImg">                <IfEqual>                  <Expr1>                    <Column Name="IconOverlay"/>                  </Expr1>                  <Expr2/>                  <Then/>                  <Else>                    <HTML><![CDATA[<img class="ms-vb-icon-overlay" alt="*" src="/_layouts/15/images/]]></HTML>                    <MapToOverlay>                      <Column Name="IconOverlay"/>                    </MapToOverlay>                    <HTML><![CDATA[" />]]></HTML>                  </Else>                </IfEqual>              </SetVar>              <IfEqual>                <Expr1>                  <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name="RecursiveView"/>                    </Expr>                    <Case Value="1">                      <GetVar Name="DocIconImg"/>                      <GetVar Name="DocIconOverlayImg"/>                    </Case>                    <Default>                      <SetVar Name="UnencodedFilterLink">                        <SetVar Name="RootFolder">                          <HTML>/</HTML>                          <LookupColumn Name="FileRef"/>                        </SetVar>                        <SetVar Name="SkipHost">1</SetVar>                        <SetVar Name="FolderCTID">                          <FieldSwitch>                            <Expr>                              <ListProperty Select="EnableContentTypes"/>                            </Expr>                            <Case Value="1">                              <Column Name="ContentTypeId"/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default="" Paged="FALSE"/>                      </SetVar>                      <FieldSwitch>                        <Expr>                          <GetVar Name="FileDialog"/>                        </Expr>                        <Case Value="1">                          <GetVar Name="DocIconImg"/>                          <GetVar Name="DocIconOverlayImg"/>                        </Case>                        <Default>                          <HTML><![CDATA[<a href="]]></HTML>                          <GetVar Name="UnencodedFilterLink" HTMLEncode="TRUE"/>                          <HTML><![CDATA[" onclick="javascript:EnterFolder(']]></HTML>                          <ScriptQuote NotAddingQuote="TRUE">                            <GetVar Name="UnencodedFilterLink"/>                          </ScriptQuote>                          <HTML><![CDATA[');javascript:return false;">]]></HTML>                          <GetVar Name="DocIconImg"/>                          <GetVar Name="DocIconOverlayImg"/>                          <HTML><![CDATA[</a>]]></HTML>                        </Default>                      </FieldSwitch>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML>                  <URL/>                  <HTML><![CDATA[" onclick="GoToLink(this);return false;" target="_self">]]></HTML>                  <GetVar Name="DocIconImg"/>                  <GetVar Name="DocIconOverlayImg"/>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{105f76ce-724a-4bba-aece-f81f2fce58f5}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="ServerUrl" DisplaceOnUpgrade="TRUE" DisplayName="Server Relative URL" Filterable="FALSE" RenderXMLUsingPattern="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="ServerUrl" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="FileRef"/>            </FieldRefs>            <DisplayPattern            <HTML>/</HTML>              <LookupColumn Name="FileRef"/>            </DisplayPattern>          </Field>          <Field ID="{7177cfc7-f399-4d4d-905d-37dd51bc90bf}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="EncodedAbsUrl" DisplaceOnUpgrade="TRUE" DisplayName="Encoded Absolute URL" Filterable="FALSE" RenderXMLUsingPattern="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="EncodedAbsUrl" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="FileRef"/>            </FieldRefs>            <DisplayPattern            <HttpHost URLEncodeAsURL="TRUE"/>              <HTML>/</HTML>              <LookupColumn Name="FileRef" IncludeVersions="TRUE" URLEncodeAsURL="TRUE"/>            </DisplayPattern>          </Field>          <Field ID="{7615464b-559e-4302-b8e2-8f440b913101}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="BaseName" DisplaceOnUpgrade="TRUE" DisplayName="File Name" Filterable="FALSE" RenderXMLUsingPattern="TRUE" SourceID="http://bit.ly/2evXbnJ" StaticName="BaseName" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="FileLeafRef"/>              <FieldRef Name="FSObjType"/>            </FieldRefs>            <DisplayPattern            <IfEqual              <Expr1                <LookupColumn Name="FSObjType"/>                </Expr1>                <Expr2>1</Expr2>                <Then                <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/>                </Then>                <Else                <UrlBaseName HTMLEncode="TRUE"                  <LookupColumn Name="FileLeafRef"/>                  </UrlBaseName>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID="{687c7f94-686a-42d3-9b67-2782eac4b4f8}" Name="MetaInfo" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Property Bag" List="Docs" FieldRef="ID" ShowField="MetaInfo" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="MetaInfo" FromBaseType="TRUE"/>          <Field ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" ColName="tp_Level" RowOrdinal="0" ReadOnly="TRUE" Type="Integer" Name="_Level" DisplaceOnUpgrade="TRUE" DisplayName="Level" Hidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_Level" FromBaseType="TRUE"/>          <Field ID="{c101c3e7-122d-4d4d-bc34-58e94a38c816}" ColName="tp_IsCurrentVersion" DisplaceOnUpgrade="TRUE" RowOrdinal="0" ReadOnly="TRUE" Type="Boolean" Name="_IsCurrentVersion" DisplayName="Is Current Version" Hidden="TRUE" Required="FALSE" SourceID="http://bit.ly/2evXbnJ" StaticName="_IsCurrentVersion" FromBaseType="TRUE"/>          <Field ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" Name="ItemChildCount" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Child Count" List="Docs" FieldRef="ID" ShowField="ItemChildCount" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="ItemChildCount" FromBaseType="TRUE"/>          <Field ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" Name="FolderChildCount" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Folder Child Count" List="Docs" FieldRef="ID" ShowField="FolderChildCount" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://bit.ly/2evXbnJ" StaticName="FolderChildCount" FromBaseType="TRUE"/>          <Field ID="{6bfaba20-36bf-44b5-a1b2-eb6346d49716}" ColName="tp_AppAuthor" RowOrdinal="0" ReadOnly="TRUE" Hidden="FALSE" Type="Lookup" List="AppPrincipals" Name="AppAuthor" DisplayName="App Created By" ShowField="Title" JoinColName="Id" SourceID="http://bit.ly/2evXbnJ" StaticName="AppAuthor" FromBaseType="TRUE"/>          <Field ID="{e08400f3-c779-4ed2-a18c-ab7f34caa318}" ColName="tp_AppEditor" RowOrdinal="0" ReadOnly="TRUE" Hidden="FALSE" Type="Lookup" List="AppPrincipals" Name="AppEditor" DisplayName="App Modified By" ShowField="Title" JoinColName="Id" SourceID="http://bit.ly/2evXbnJ" StaticName="AppEditor" FromBaseType="TRUE"/>        </Fields>        <ContentTypes        <ContentType ID="0x0100C24F1844B7B3264B92EBC5B3F0110A9F" Name="Item" Group="List Content Types" Description="Create a new list item." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}"          <Folder TargetName="Item"/>            <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE"/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x012000DF65443D88AF084791B2BCB044BE0BF7" Name="Folder" Group="Folder Content Types" Description="Create a new folder." Sealed="TRUE" Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}"          <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="TRUE"/>              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE" Hidden="FALSE"/>              <FieldRef ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" Name="ItemChildCount"/>              <FieldRef ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" Name="FolderChildCount"/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x010041CFF0FB0E8DF3488B80375585352211004905F4EC8EC2044B8FBDDDA5030A8A0D" Name="Audit" Group="EDRMS Portfolio DB" Description="Create a new list item." ReadOnly="TRUE" Version="1"          <Folder TargetName="Audit"/>            <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="FALSE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDQxQ0ZGMEZCMEU4REYzNDg4QjgwMzc1NTg1MzUyMjExIiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x01005A3C6BBD0C84504FA03752D3919FCB5D00D6851EFE1788A74EB97B1705C72B89B7" Name="Audit Action" Group="EDRMS Portfolio DB" Description="Create a new list item." ReadOnly="TRUE" Version="1"          <Folder TargetName="Audit Action"/>            <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="FALSE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""/>              <FieldRef ID="{f4f3e946-d979-4ff5-8223-c8f01ebc3347}" Name="EDRMSAction"/>              <FieldRef ID="{e67580c2-9226-40bf-8f34-5973dba37397}" Name="EDRMSActualCloseddate"/>              <FieldRef ID="{11bfcac9-af7d-48dc-b893-37fe198ac105}" Name="p1ddcb168b464625aa2588fc1e161f6c" Hidden="TRUE"/>              <FieldRef ID="{f3b0adf9-c1a2-4b02-920d-943fba4b3611}" Name="TaxCatchAll" Hidden="TRUE"/>              <FieldRef ID="{8f6b6dd8-9357-4019-8172-966fcd502ed2}" Name="TaxCatchAllLabel" Hidden="TRUE"/>              <FieldRef ID="{978a583c-0ee7-4423-8db5-d63860d6f814}" Name="EDRMSAuditContact"/>              <FieldRef ID="{30f91207-2921-489a-8d95-4aff394692b3}" Name="EDRMSCurrentstatus"/>              <FieldRef ID="{db74e757-efb1-4735-b300-e232027c891a}" Name="EDRMSD_TSpendValuerequested"/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDVBM0M2QkJEMEM4NDUwNEZBMDM3NTJEMzkxOUZDQjVEIiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x010017AD3FB874451C4F8DD58309771F3D5800A446B1790750624282F9DFE39EF75A09" Name="Audit Exception" Group="EDRMS Portfolio DB" Description="Create a new list item." ReadOnly="TRUE" Version="1"          <Folder TargetName="Audit Exception"/>            <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="FALSE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDE3QUQzRkI4NzQ0NTFDNEY4REQ1ODMwOTc3MUYzRDU4IiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x01001845946689C1004B9290F0B4BEBCB6E20072925977D27F5E42AC4CB9872A95396F" Name="EDRMS Contacts" Group="EDRMS Portfolio DB" Description="Create a new list item." ReadOnly="TRUE" Version="1"          <Folder TargetName="EDRMS Contacts"/>            <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="FALSE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDE4NDU5NDY2ODlDMTAwNEI5MjkwRjBCNEJFQkNCNkUyIiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID="0x010030AD093A85649846B59710F4D05342F80049E722FACD80644EBE748BF114D659F4" Name="EDRMS Item" Group="EDRMS Portfolio DB" Description="Create a new list item." ReadOnly="TRUE" Version="1"          <Folder TargetName="EDRMS Item"/>            <FieldRefs            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType"/>              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="FALSE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDMwQUQwOTNBODU2NDk4NDZCNTk3MTBGNEQwNTM0MkY4IiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI="http://bit.ly/2evVxCB">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>        </ContentTypes>        <Forms        <Form Type="DisplayForm" Name="{E6BC58D2-03C9-443E-A9E9-1457A0EE9170}" Url="Lists/Test1WithMultipleContentTypes/DispForm.aspx" Default="TRUE" FormID="0"/>          <Form Type="EditForm" Name="{88B97F4D-A183-4D27-8360-37CB895D7412}" Url="Lists/Test1WithMultipleContentTypes/EditForm.aspx" Default="TRUE" FormID="0"/>          <Form Type="NewForm" Name="{4373EC06-A519-496D-8712-E116E0E8D3BE}" Url="Lists/Test1WithMultipleContentTypes/NewForm.aspx" Default="TRUE" FormID="0"/>        </Forms>        <Security        <ReadSecurity>1</ReadSecurity>          <WriteSecurity>1</WriteSecurity>          <SchemaSecurity>0</SchemaSecurity>        </Security>      </MetaData>    </List>  </Lists> 

from reshmeeauckloo http://bit.ly/2evVXJ0

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Instantiate SharePoint Client Context using current user credentials in PowerShell

$
0
0

In C# managed code, SharePoint Client Context can be created using System.Net.CredentialCache to pass logged in user credentials.

ICredentials credentials = CredentialCache.DefaultCredentials;
clientContext.Credentials = credentials;

I could not find anywhere how to achieve it in PowerShell.

If using PnP PowerShell module, the switch parameter CurrentCredentials can be used with the cmdlet Connect-Online.

Connect-SPOnline -Url “http://dev-sp-001a:1214/Teams/Legal” -CurrentCredentials 
$ctx= Get-SPOContext

In most of my CSOM code without use of PnP I used to get current user name using [Environment]::UserName

[Environment]::UserName

I used to prompt the current user to enter password

$AdminPassword = Read-Host "Enter password: " -AsSecureString

Lately I discovered I could use  system.net.credentialcache in PowerShell  to pass current user credentials when instantiating the ClientContext object.

 $ctx=New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
 $Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
 $ctx.Credentials = $Credentials;
 $web = $ctx.Web
 $ctx.Load($web);
 $ctx.ExecuteQuery();

This means you can start Windows PowerShell as the user having appropriate permissions to the SharePoint Environment and run CSOM code without prompting credentials.

from reshmeeauckloo http://bit.ly/2e34K7M

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Using PnP PowerShell to export and import Taxonomy

$
0
0

PnP provides export taxonomy cmdlet which allows to export all term groups, term sets, terms and child terms to a file with one line of code

Connect-SPOnline -Url <siteurl> -CurrentCredentials 
Export-SPOTaxonomy -IncludeID -Path "C:\temp\Metadata\terms.txt"

PnP also provides an equivalent import taxonomy cmdlet to import all term groups, term sets, terms and child terms from a file with one line of code

Connect-SPOnline -Url <siteurl> -CurrentCredentials
Import-SPOTaxonomy -Path "C:\temp\Metadata\terms.txt"

However if IncludeId switch parameter is used with the export, the import would fail if the October 2016 PnP PowerShell release is used.

The error message appears

Import-SPOTaxonomy : Exception on line 5: Failed to read from or write to database. 
Refresh and try again. If the problem persists, please contact the administrator

I decided to enable Trace on the PnP to get debug messages using the Set-SPOTraceLog

  Set-SPOTraceLog -On -Level Debug

Debug messages appear to monitor progress of execution but was not helpful.

errorimportingterm

I tried to google the message, found out that the error happened as the code is trying to create a term or term set with an unique identifier (GUID)  which already exists in the taxonomy store.

I inspected the taxonomy file exported and found that terms having child terms were wrongly formatted.In the example below the term group EDRMS is repeated 3 times.

EDRMS;#383eab6e-a944-430d-9a18-f8b872322c2c|EDRMS;#383eab6e-a944-430d-9a18-f8b872322c2c|Directorate;#a99db510-121a-407b-87ec-0b4911e59469|EDRMS;#383eab6e-a944-430d-9a18-f8b872322c2c|Directorate;#a99db510-121a-407b-87ec-0b4911e59469|Finance;#fbab08b3-bc7d-4363-a1c4-1f5d4a466b07|Credit and Collections;#0ec6cefe-c92c-4dfe-81d4-1fe56183f8a2

The Export-SPOTaxonomy was wrongly formatting child terms in the export file.

I raised the issue 532 on PnP PowerShell project.

However I was not sure how quick the issue was going to get fixed so decided to debug PnP powershell command  and found that the issue was with the core PnP project . I fixed it with pull request Taxonomy import export which got merged into pull request Fixed issue with subterms not exported correctly when using ExportAll” .

With the PnP PowerShell November 2016 release, you will be able to use PnP to import and export taxonomy.

 

 

from reshmeeauckloo http://bit.ly/2fcsciR

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Instantiate CRMServiceClient using current user’s login

$
0
0

The Get-CrmConnection method can be used to  return connection to a CRM instance. The syntax to call the method is

Parameter Set: OnLine
Get-CrmConnection [-OnLineType] <OnlineType> [[-Credential] <PSCredential> ]
[-DeploymentRegion] <String> [[-ProfileName] <String> ] -OrganizationName <String> [ <CommonParameters>]

Parameter Set: OnPrem
Get-CrmConnection [-ServerUrl] <Uri> [[-Credential] <PSCredential> ]
[-OrganizationName] <String> [[-HomeRealmUrl] <Uri> ] [[-ProfileName] <String> ]
[ <CommonParameters>]

Parameter Set: UIOnly
Get-CrmConnection [[-InteractiveMode]] [ <CommonParameters>]

I wanted to get the crm connection with the current user’s credentials without any prompts. The first and second options required the object PSCredential which can’t be created using logged current user’s credentials. The third option with the switch InteractiveMode  displays a dialog box prompting to enter connection details. All three options were not appropriate for the requirement.

The method returns the object Microsoft.Xrm.Tooling.CrmServiceClient. From the msdn article, it can be constructed using the NetworkCredential object.

The constructor’s definition in C#

public CrmServiceClient(
	NetworkCredential credential,
	AuthenticationType authType,
	string hostName,
	string port,
	string orgName,
	bool useUniqueInstance = false,
	bool useSsl = false,
	OrganizationDetail orgDetail = null
)

 

In PowerShell, the current user’s credentials can be retrieved using [System.Net.CredentialCache]::DefaultNetworkCredentials.

There is no way the [System.Net.CredentialCache]::DefaultNetworkCredentials can be converted to the PSCredential object.

The below syntax can be used to create the Microsoft.Xrm.Tooling.Connector.CrmServiceClient using logged in user’s credentials. Replace the variables $serverName, $serverPort, $organizationName with the respective values.

 $crmConnection = New-Object `
 -TypeName Microsoft.Xrm.Tooling.Connector.CrmServiceClient `
 -ArgumentList ([System.Net.CredentialCache]::DefaultNetworkCredentials),
 ([Microsoft.Xrm.Tooling.Connector.AuthenticationType]::AD),
 $serverName,
 $serverPort,
 $organizationName,
 $False,
 $False,
 ([Microsoft.Xrm.Sdk.Discovery.OrganizationDetail]$null)

from reshmeeauckloo http://bit.ly/2eNVYJF

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


CRM Dynamics 2015 “Error Uploading Report” caused by using Visual Studio 2015

$
0
0

When I was trying to upload a SSRS report to replace an existing report to CRM Dynamics 2015 solution, I got the error

Error Uploading Report

An error occurred while trying to add the report to Microsoft Dynamics CRM.

erroruploadingreport

The error message does not say much.

I decided to use Visual Studio 2015 to edit the CRM report which has caused the issue.

I compared the code behind of the previous report and new report and found that there are new XML elements in the report generated by visual studio 2015 (SQL Server Data Tools for Visual Studio 2015). For example, “reportsections” xml tag has been inserted.

 <ReportSections>
 <ReportSection>
 <Body>
 <ReportItems>
 <Tablix Name="Tablix4">
 <TablixBody>
 <TablixColumns>
 <TablixColumn>
 <Width>3in</Width>
 </TablixColumn>
 <TablixColumn>
 <Width>1.5in</Width>
 </TablixColumn>
 <TablixColumn>
 <Width>1.5in</Width>
 </TablixColumn>
 <TablixColumn>
 <Width>1.5in</Width>
 </TablixColumn>
 <TablixColumn>
 <Width>2.0455in</Width>
 </TablixColumn>
 </TablixColumns>
 <TablixRows>
 <TablixRow>

The only option for me was to rework the report in Visual Studio 2013 (SQL Server Data Tools for Visual Studio 2013) before uploading the report to CRM dynamics solution successfully.

from reshmeeauckloo http://bit.ly/2g0X1Hv

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)



Create Azure Virtual Network throws Error “Subscription is not registered with NRP”

$
0
0

I was following the article SharePoint Server 2016 dev/test environment in Azure to create a SharePoint Server 2016 environment in Azure.

I reached the step to create the SP2016Vnet Azure Virtual Network that will host the SP2016Subnet subnet.

I tried  the cmdlets below

$spSubnet=New-AzureRMVirtualNetworkSubnetConfig -Name SP2016Subnet
-AddressPrefix 10.0.0.0/24

 New-AzureRMVirtualNetwork -Name SP2016Vnet -ResourceGroupName $rgName
-Location $locName -AddressPrefix 10.0.0.0/16 -Subnet $spSubnet
-DNSServer 10.0.0.4

Unfortunately I got the error message

WARNING: The output object type of this cmdlet will be modified in a future release.
New-AzureRMVirtualNetwork : Subscription <Guid> is not registered with NRP.
StatusCode: 409
ReasonPhrase: Conflict
OperationID : '0937045e-3d71-411f-ba11-785e5fcff586'
At line:1 char:1
+ New-AzureRMVirtualNetwork -Name SP2016Vnet -ResourceGroupName $rgName -Location ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 + CategoryInfo : CloseError: (:) [New-AzureRmVirtualNetwork], NetworkCloudException
 + FullyQualifiedErrorId : Microsoft.Azure.Commands.Network.NewAzureVirtualNetworkCommand

errorwithnew_azurermvirtualnetwork_notregisteredwithnrp

After spending a while googling through solutions , I gave up and tried to modify the script until I get it working.

The fix was to enclosed the parameter “Name” value between double quotes when calling method New-AzureRMVirtualNetworkSubnetConfig.

$spSubnet=New-AzureRMVirtualNetworkSubnetConfig
-Name "SP2016Subnet" -AddressPrefix 10.0.0.0/24

New-AzureRMVirtualNetwork -Name SP2016Vnet
-ResourceGroupName $rgName -Location $locName
-AddressPrefix 10.0.0.0/16 -Subnet $spSubnet -DNSServer 10.0.0.4

The cmdlets work after the fix.

new_azurermvirtualnetwork_withouterrors

 

from reshmeeauckloo http://bit.ly/2fMkY2r

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Create Virtual Machine(VM) in Azure throws “Long running operation failed with status ‘Failed’.” through PowerShell

$
0
0

I was following the article SharePoint Server 2016 dev/test environment in Azure to create a SharePoint Server 2016 environment in Azure.

I reached the step to create the Virtual Machine that will be used as the domain controller using the cmdlet below

New-AzureRMVM -ResourceGroupName $rgName -Location $locName -VM $vm

After waiting for several minutes I decided to cancel the operation. When I retried the same cmdlet, I got the following error.

New-AzureRMVM -ResourceGroupName $rgName -Location $locName -VM $vm -Verbose
VERBOSE: Performing the operation "New" on target "adVM".
New-AzureRMVM : Long running operation failed with status 'Failed'.
ErrorCode: VMAgentStatusCommunicationError
ErrorMessage: VM 'adVM' has not reported status for VM agent or extensions.
Please verify the VM has a running VM agent, and can establish
outbound connections to Azure storage.
StartTime: 18/11/2016 15:42:46
EndTime: 18/11/2016 15:42:46
OperationID: f1ecb302-9da9-4a76-9b0c-463b5e89c41c
Status: Failed
At line:1 char:1
+ New-AzureRMVM -ResourceGroupName $rgName -Location $locName -VM $vm -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 + CategoryInfo : CloseError: (:) [New-AzureRmVM], ComputeCloudException
 + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.NewAzureVMCommand

I spent a while trying to understand what the error message meant. In that scenerio the error message was thrown because the VM requested was created successfully even though I interrupted the operation before. The error thrown was to prevent creating another VM with the same details.

When I created the second VM, I waited long enough till the success message was displayed.

vmcreatedsuccessfully

from reshmeeauckloo http://bit.ly/2g2Rv3M

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Import Configuration Data to CRM using Microsoft.Xrm.Data.PowerShell

$
0
0

CRM Dynamics data can be exported using the data migration tool by first generating the data schema file and using the later to export selected entities and fields. The same data migration tool can be used to import data into other environments. However it is still a manual process.

I have written a script using Microsoft.Xrm.Data.PowerShell module in PowerShell  to automate the data import. The zip generated by the export needs to be unzipped so that the path of the files can be passed to the method called to import the data.unzippedconfigfile

The script can be downloaded from TechNet gallery. Please note that the script has been tested with limited data so might require changes depending on the data being imported.

http://bit.ly/2fvBe9X

Call the method Import-ConfigData as in the snippet below.

 Add-type -Path ".\Assemblies\Microsoft.Xrm.Tooling.CrmConnectControl.dll"
 Add-Type -Path ".\Assemblies\Microsoft.Xrm.Tooling.Connector.dll"

import-module ".\Microsoft.Xrm.Data.PowerShell\Microsof t.Xrm.Data.PowerShell.psm1"

$crmOrg = New-Object `         
   -TypeName Microsoft.Xrm.Tooling.Connector.CrmServiceClient `         
   -ArgumentList ([System.Net.CredentialCache]::DefaultNetworkCredentials),             ([Microsoft.Xrm.Tooling.Connector.AuthenticationType]::AD) 
,            $serverName 
,            $serverPort 
,             $organizationName 
,             $False 
,            $False 
,           ([Microsoft.Xrm.Sdk.Discovery.OrganizationDetail]$null$dataFilePath =  "\PkgFolder\Configuration Data\data.xml" 
$dataSchemaFilePath = "\PkgFolder\Configuration Data\data_schema.xml" 
Write-Output "Begin import of configuration data..." 
Import-ConfigData -dataFilePath $dataFilePath 
-dataSchemaFilePath $dataSchemaFilePath -crmOrg $crmOrg 
Write-Output "End import of configuration data..."

First initialise the crm connection object of type Microsoft.Xrm.Tooling.Connector.CrmServiceClient stored in the variable $crmOrg above.

Pass the following parameters to the method.

datafilePath: Path of the file data.xml

crmOrg  : crm connection object

dataschemafilepath: Path of the file dataschema.xml

 

 

from reshmeeauckloo http://bit.ly/2fvBhT2

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Create Dev/Test SharePoint 2013 environment in Azure

$
0
0

Azure has a trial image to build either SharePoint 2013 HA farm or SharePoint 2013 Non-HA farm.

When trying to create SharePoint 2013 Non-HA farm, I was stuck at step “Choose storage account type” with the message “Loading pricing…”.

hangingselectstorageaccounttypefromazure

Following SharePoint Server 2016 dev/test environment in Azure, I managed to created a SharePoint 2013 environment in Azure running PowerShell commands.

There are three major phases to setting up this dev/test environment:

  1. Set up the virtual network and domain controller (ad2013VM).I followed all steps described in Phase 1: Deploy the virtual network and a domain controller to set up the virtual network and domain controller
  2. Configure the SQL Server computer (sql2012VM).I followed all steps from Phase 2: Add and configure a SQL Server 2014 virtual machine to create the SQL server computer with few changes to the PowerShell script to create a SQL2012R2 machine.
  3. Configure the SharePoint server (sp2013VM).                                                                               I followed all steps from Phase 3: Add and configure a SharePoint Server 2016 virtual machine with few changes to the script to create a SharePoint 2013 virtual machine.

Configure the SQL Server computer (sql2012VM).

I needed to get the name of SQL 2012 SP2 Azure image offer. I can list all SQL Azure image offers using the cmdlet Get-AzureRMImageOffer.

Get-AzureRmVMImageOffer -Location "westeurope"
-PublisherName "MicrosoftSQlServer"

get-azurermimageoffersql

The following SQL Image Offers are available

Offer
-----
SQL2008R2SP3-WS2008R2SP1
SQL2008R2SP3-WS2012
SQL2012SP2-WS2012
SQL2012SP2-WS2012R2
SQL2012SP3-WS2012R2
SQL2012SP3-WS2012R2-BYOL
SQL2014-WS2012R2
SQL2014SP1-WS2012R2
SQL2014SP1-WS2012R2-BYOL
SQL2014SP2-WS2012R2
SQL2014SP2-WS2012R2-BYOL
SQL2016-WS2012R2
SQL2016-WS2012R2-BYOL
SQL2016-WS2016
SQL2016-WS2016-BYOL
SQL2016CTP3-WS2012R2
SQL2016CTP3.1-WS2012R2
SQL2016CTP3.2-WS2012R2
SQL2016RC3-WS2012R2v2
SQL2016SP1-WS2016
SQL2016SP1-WS2016-BYOL
SQLvNextRHEL

I was interested in SQL 2012 SP2 Standard version. Fortunately the Azure Image Offer Names are intuitive, e.g. Name SQL2012SP2-WS2012R2 means windows server 2012 R2 virtual machine with SQL Server 2012 SP2 installed.

I also needed the SKU value of the SQL 2012 SP2 using the cmdlet Get-AzureRmVMImageSKU

 Get-AzureRmVMImageSKU -Location "westeurope" -PublisherName "MicrosoftSQlServer"
-Offer SQL2012SP2-WS2012R2|format-table Skus

The following SKUs for SQL2012SP2-WS2012R2 are available

Skus
----
Enterprise
Enterprise-Optimized-for-DW
Enterprise-Optimized-for-OLTP
Standard
Web

http://bit.ly/2hbwjcu

The changes from the original script are on the following lines

  • line 21: “sql2012VM” stored in variable $vmName
  • line 23: $vnet=Get-AzureRMVirtualNetwork -Name “SP2013Vnet” -ResourceGroupName $rgName
  • line 40 : $vm=Set-AzureRMVMSourceImage -VM $vm -PublisherName MicrosoftSQLServer -Offer SQL2012SP2-WS2012R2 -Skus Standard -Version “latest”

Configure the SharePoint server (sp2013VM).

Similarly to creating the SQL virtual machine, I needed the Azure Image Offer Name for SharePoint 2013.

The available SharePoint Azure Image offers for Microsoft SharePoint can be retrieved using the cmdlet below.

Get-AzureRmVMImageOffer -Location "westeurope"
-PublisherName "MicrosoftSharePoint"

Only one result “MicrosoftSharePointServer” is returned.

To get the available SKUs for “MicrosoftSharePointServer”, the cmdlet below can be run.

 Get-AzureRmVMImageSKU -Location "westeurope" -PublisherName "MicrosoftSharePointServer"
|format-table Skus

get-azurermimageoffersharepoint

Two results are returned : “2013” and “2016”. I am interested in the “2013” value which refers to the Microsoft SharePoint Server 2013 version.

http://bit.ly/2hbu7lb

The changes from the original script are on the following lines

  • line 18: $vmName=“sp2013VM”
  • line 26:$vnet=Get-AzureRMVirtualNetwork -Name “SP2013Vnet” -ResourceGroupName $rgName
  • line 34: $skuName=“2013”

The end result of the PowerShell scripts is a resource group with the virtual machines (adVm, sp2013Vm and sql2012VM), network interfaces, availability sets, storage account and public IP addresses to enable SharePoint 2013 to run in Azure VMs.

 

sharepoint2013resourcegroup

from reshmeeauckloo http://bit.ly/2ggfX4H

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Unable to change Content Type of document in Library

$
0
0

I was trying to remove a content type from a document library which was associated with multiple content types. As a first action, I identified all documents tagged with the content type to be removed and tried to update them with another content type. However some documents were still showing the old content type despite saving it with the new content type by updating the [Content Type] field.

contenttypecolumn

I tried removing the document and adding the document back to the document library, unfortunately it was still referencing the old content type.

The solution that worked for me was to open the document in desktop office and open the “Advanced Properties”.

advancedproperties

Find and select the property ContentTypeId and click on Delete.

contenttypeiddelete

After deleting the ContentTypeId property I was able to update the content type property of the document and eventually remove the old content type from the document library.

from reshmeeauckloo http://bit.ly/2hZNhvL

Reshmee Auckloo
Reshmee Auckloo – Reshmee is a certified Microsoft professional and has been involved in delivering solutions across a wide variety of industry sectors in a range of assignments from SSRS to Microsoft SharePoint, Project Server development, CRM Dynamics and .Net including business requirements gathering and software quality assurance.

This article has been cross posted from reshmeeauckloo.wordpress.com (original article)


Viewing all 50 articles
Browse latest View live