SharePoint, Office 365, Azure, and Front end JS geek. – Chicago IL
SharePoint, Office 365, Azure, and Front end JS geek. – Chicago IL

Blog

History of /_vti_bin/

In 1996 Microsoft acquired the VTI company specially to help build it’s growing web product line.   VTI stands for Vermeer Technologies Incorporated.   The ubiquitous familiar folder began with FrontPage extensions and comes directly from what VTI’s developers decided to call it pre-acquisition back in 1996.    It remains unchanged today.      Now it’s even more visible with the continuation into the SharePoint product line and not likely to go anywhere soon.

 

Not a technical post but interesting anyway, right?

 

fp95
image
image
image
image
image
image
Image result for sharepoint designer 2010

 

image

MOVIE – Random Tip – XSLT

So you want to display a single random item from a SharePoint list?     It’s a common request and a very handy one for visitors.    Give your site a fresh relevant appearance with a dynamic web part.    Web 2.0 requires us site designers to keep pace with visitor expectations.   Let’s get to the fun part.    Here we’ll be using the Data Form Web Part (DFWP) sometimes called the Data View Web Part (DVWP) to present a SharePoint list with XSLT logic for the randomizer and conditional formatting to only show the target record.

Example Code   (random row XSLT.txt  1KB)
Sample Data     (Email Security Tips.xls  13KB)

 

Watch this 4 minute movie clip to see a live demo.     Steps are outlined below also.

 

image

 

  1. Create your list
  2. Open the target page in SharePoint Designer 2007
  3. Open Data View Manage Data Sources
  4. Ctrl+Click the Title and Body columns     (NOTE – other column names work too)
  5. Drag them on the page
  6. Add two CSS classes to the page header

  7. Locate the XSLT header with “<xsl:variable” entries and confirm you have the below three:

  8. Locate the <TR> for starting a new row.   Add the conditional pair below to apply the right CSS class when needed.

  9. Apply extra formatting  (bold, colors, icons) to achieve a unique look for your audience.

JQuery Accordion – Expand Collapse All

I looked over many threads and posts on many sites and wasn’t able to find code that worked for me.    Some of it would be close.   Others buggy.   Below I’ve outlined the JQuery code that worked perfectly for my needs and I hope you find it helpful too.

This example was deployed to a SharePoint page so the “/_layouts/images/plus.gif” was used to leverage the OOTB graphics for a plus/minus icon feel.

Full Example Source Download     (accordion.zip  73KB)

 

image

 

image

 

Parent .HTML

Supporting .JS

Could not find the file Exportsettings.xml

Could not find the file ‘C:WINDOWSTEMPf611fafc-73d8-4b48-bc1e-f9ef6d7cb991Exportsettings.xml’

This error message comes up when performing a SharePoint Designer 2007 site export and import above 25 MB.     There are some helpful blog articles already written on this like farhanfaiz’s post with a sample XML file with cabsdk workaround.     And this Technet post encourages server side changes to allow for larger files.    However, you might find yourself like me without server access and unable to resolve the issue.

Backup Steps

  • Open SharePoint Designer to the source site
  • Click [ Site Administration Backup Web Site ]
image

  • Provide a local file name to save output
  • Do not trust the success message.  If your site was over 25 MB it actually just failed.   Delete the CWP file, it’s worthless.   
    image

image

  • Browse to the site’s Recycle Bin and restore all of the files with a crazy GUID number prefix
image

  • Open the site’s root folder in SharePoint Designer
  • Highlight these GUID files, right click Publish, and send them to your local file system
image

 

  • Create a New Folder on the local file system
  • Extract the content of all the CMP files to this folder
  • Use [ CABARC N newfile.cmp *.* ] to build a single large CMP file
  • This new CMP file contains all of the files of the disparate ones.    It’s easy to manage and provide a reliable import mechanism.
  • If restoring to another MOSS farm first move this new CMP file to that remote machine
image

 

Restore Steps

  • Open SharePoint Designer to the target site
  • Click [ Site Administration Restore Web Site ]
image

  • Browse for [ newfile.cmp ]
  • Enjoy seeing the restored files in the target site’s home folder
  • Go open a cold beer!   
    image

 

NOTE:   You can also use [ STSADM -O IMPORT -URL FILENAME newfile.cmp ] for the restore if you have console access on the destination MOSS server.

 

NOTE:   If the target MOSS farm lacks Feature Definitions (SPFeature) the source had activated the import will fail.   To resolve you can:

  1. Install the features
  2. Open the Manifest.xml and Requirements.xml inside of the CMP to remove those references with Notepad.    Re-create the CMP with CABARC and then run the import again.

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲