Skip to main content

Posts

Showing posts from 2012

Audio files embbed on sharepoint site.

This is the link I was referred to and it is a nice posting. http://sharepoint2020.wordpress.com/2011/06/08/sharepoint-2007-embed-an-mp3-player-for-a-list-or-document-library/  Use this jscript path on the page where your audio files are there. <script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script>     Thats it!!

SharePoint 2010 Web Analytics Unexpected Error

This original post is from here !!!!! I had a problem with web analytics which were not working on any of the sharepoint 2010 sites and sub sites. I need to update the analytics every week for so many sites. One of my co worker added one nasty workflow which was blocking OTB web analytics from sharepoint. I didint wanted to disturb the entire scenario nor keep it coz with that I was not able to take the reports. So, I prayed to Lord and he told me to google it in my dreams and I started it with blessing and I found one easy but ***ked up solution, but it worked for me. Solution: Go to master page and check if the "leftnav. code" is below or above the "top nav. code". If it is above then you are lucky, coz changing the places will solve your problem. If top nav. code is above the left nav. then you need to go for "shankara manyalu"!!!!!. Happy sharepointing!! If you still have problem understanding my posting then click this link . So many people h

power point 2010 save as a web page and embed in sharepoint

I got a requirement today of presenting powerpoint 2010 slides on sharepoint 2010 site. FOLLOW THESE STEPS IN EXACT ORDER Open the presentation that you want to export to HTML. Press ALT+F11. (A SIDE PROGRAM WILL OPEN CALLED VISUAL BASIC) Press CTRL+G. (A TEXT BOX WILL APPEAR AT THE BOTTOM CALLED "IMMEDIATE")(THIS WINDOW CONSIDER IT LIKE A SAVE AS WINDOW AND YOU ARE TELLING IT WHERE TO GO) In the Immediate window type the following: ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm", ppSaveAsHTML, msoFalse (I COPIED AND PASTED THIS ROOT LOCATION SO WHEN YOU PASTE THE FILE INTO THE WINDOW IT WILL SAY  ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm THAT IS WHAT IS KNOWN AS THE ROOT DIRECTORY) (AT THIS POINT THE TEXT IN THE "<>" BRACKETS SUCH AS "<DRIVE>" SHOULD BE RENAMED TO THE FOLLOWING: <DRIVE> = LOCATIO

Telephone format for a text box on infopath form

If you want to create a Telephone format on a infopath form : 1. Add a text field to the form (Even if it is the list or a blank form) 2. Select the text box and click on Manage Rules 4. Add a rule to your textbox control with the following conditions (make sure to select "and" operator):     a. field "does not match pattern" Phone number     b. the expression: string-length(translate(., "()- ", "")) = 10     c. the expression: string-length(translate(., "()- 0123456789", "")) = 0 5. Add action to the rule:     a. Set a field's value     b. Select your textbox field     c. Insert formula for the value (click the fx button): concat("(", substring(translate(., "()- ", ""), 1, 3), ") ", substring(translate(., "()- ", ""), 4, 3), "-", substring(translate(., "()- ", ""), 7, 4)) Link for the detailed explanation :  http:

Code to embbed youtube video on sharepoint site

In content editor web part : <object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/TE9TpraPlrE?version=3"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/ 9bYVUvWJ3fs ?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>

How to Hide Column Header from the List webpart

Hi All, I had a situation today with list webpart. I created a list for A-Z Index list and created views for all the letters and applied as list webparts on a page. It was showing only the links which starts with the letters (for Example: Under A it was showing only the links which starts with A and so far). I'm getting carried away!! Sorry!! The column title was showing on all the list webparts that were placed on that page and it was looking very awkward. I tried to chekc for some options on the "view" but No success!! I wanted to call this list in content query web part and resolve it ( with one of my friend suggestion!!!) but looks kinda complicated. As a final attempt I wanted to see the css class which is controlling this title header and then bingo!!!!!!! Here is the solution : 1. Place the list as a webpart on a page. 2. Add a content editor webpart on the page (make it hide by taking crome type : none) 3. Add this piece of code on the source editor