Item ID in display and edit forms A frequent request: have the ID displayed when viewing an individual item, in display form (DispForm.aspx) and edit form (EditForm.aspx). This is for example useful when a team uses the default SharePoint ID as identifier in an Issue Tracking list. Note: the ID cannot be displayed in NewForm.aspx, simply because the ID doesn’t exist yet when you add a new item. The answer is easy: the ID is actually already in the browser window, in the URL to be precise: Right, this is not very user friendly, so we are going to add a short script to grab the ID and display it in the page. To add a script to DispForm.aspx and EditForm.aspx, we’ll use a well known technique: - append ? - add a hidden CEWP to the page Then add one of the two scripts below in the source editor of the CEWP: To display the ID in the first row: To display the ID in the last row: Like this: Like Loading...
Creating a Web Part with Client-side Scripts (Anweshi Deverasetty) - SharePoint Developer Team Blog Hi again, this is Anweshi Deverasetty with a new blog post. You might have read my recent blog post Working with SharePoint 2010 Themes. Next, I am going to talk to you about how we can embed and link client side scripts for Web parts in SharePoint 2010. About creating client-side scripts for Web Parts Scripts are blocks of code that are inserted into a Web page and are interpreted at run time. Client-side scripts run on the client as opposed to the server. You can implement client-side scripting in a Web Part in one of two ways. Linking a script file to a Web Part Embedding a script in a Web Part Linking a script file to a Web Part You can write script in a separate file and place the file on a server running SharePoint Server 2010. Advantages To Link a script file to a Web Part In SharePoint 2010, it’s rather easy to start SharePoint and JavaScript development. Now, let’s see how to link this JS file in the webpart. Specify a key for the script. Embedding script in a Web Part Conclusion
Free practice exams for the CISSP, CISA, SSCP- cccure.org - Bringing Education to the World (Beta) Welcome to the CCCure Quizzer Your feedback is most welcome, leave us a message using the Comment form. Commercial Usage This website, it's quizzes, and any portion of it may not be used within Colleges, Universities, Paid for training, Commercial Companies, Government Department, Live and online training delivery, MUST get a license to make use of this site within their environment. The following companies have paid to get licensed access to this quiz engine for the benefit of their clients: If you would like to license this quiz engine to be included in your training service offering, please contact: Clément Dupuis (clement[dot]dupuis[at]cccure[dot]com) You can begin your quiz at any time using the navigation menu above or proceed with this link.
Schneier on Security Mandatory Profiles and Outlook 2003 Posted 24 February 2009 - 07:59 PM Hi Martin, What you are doing sounds like exactly what we want to do. We are looking to create a mandatory profile that is stored on a Windows 2003 server and pulled down each time a user logins. The problem we are running into is that Outlook considers every user a new user each time they login. I have unzipped\copied the Flex_Config to a shared network folder (\\mail\backup\Flex_Config). I have installed Immidio local to the c:\progam files of the PC. I have successfully configured a mandatory profile that is pulled from the server each time I login and I have downloaded the Immidio Flex kit. Logon script - CSCRIPT /NOLOGO "%PROGRAMFILES%\Immidio\Flex Profiles\Flex_Framework.vbs" LOGON \\mail\backup\Flex_Config Logoff script - CSCRIPT /NOLOGO "%PROGRAMFILES%\Immidio\Flex Profiles\Flex_Framework.vbs" LOGOFF \\mail\backup\Flex_Config Thanks in advance
SharePoint: Rotating Pictures, Random Pictures (updated) Yet another update! People can be such a pest… you keep asking for “captions, for buttons, for Play/Pause… Well I finally took the time to do it. Rather than complicate this post any more, I have the update here: Here’s a what the updated one looks like (without the animation): SP 2010 Update: Will this work in SharePoint 2010? Updated to support Firefox and to add an optional hyperlink. Many web sites have pictures that keep changing while the page is displayed. But… I wanted a way to do this with no C# programming, no server deployment issues and even without SharePoint Designer. How this works: Add a picture library and upload some pictures Add a the web part for this new library on your home page Customize the view used by the web part Add a Content Editor Web Part to the same page and paste the HTML and JavaScript code below Sit back and watch! Options: Steps: The Code: function RotatingPictures(){
Essential Wireless Hacking Tools By Daniel V. Hoffman, CISSP, CWNA, CEH Anyone interested in gaining a deeper knowledge of wireless security and exploiting vulnerabilities will need a good set of base tools with which to work. Finding Wireless Networks Locating a wireless network is the first step in trying to exploit it. Network Stumbler a.k.a NetStumbler – This Windows based tool easily finds wireless signals being broadcast within range – A must have. (NetStumbler Screenshot) Kismet – One of the key functional elements missing from NetStumbler is the ability to display Wireless Networks that are not broadcasting their SSID. (Kismet Screenshot) Attaching to the Found Wireless Network Once you’ve found a wireless network, the next step is to try to connect to it. Airsnort – This is a very easy to use tool that can be used to sniff and crack WEP keys. (Screenshot of Airsnort in Action) coWPAtty – This tool is used as a brute force tool for cracking WPA-PSK, considered the “New WEP” for home Wireless Security.
Configuring Roaming User Profiles: Group Policy Before you create a roaming user profile, you need to create each user account. Then, log on to a server as an administrator to create a network share to store the roaming user profiles, designate the groups of users to receive the roaming user profiles, and grant all users Full Control permissions. Use the following procedures when you create and manage roaming user profiles. For information about deploying Roaming User Profiles on newer versions of Windows, see Deploy Folder Redirection, Offline Files, and Roaming User Profiles. Creating Roaming User Profiles To perform the following procedure, you must be a member of the Account Operators group, Domain Admins group, or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority. To create a roaming user profile Open Active Directory Users and Computers. Another way to populate the profile path is to use an Active Directory® Service Interfaces (ADSI) script. Note Configuring a Default Profile
Troubleshooting Slow Citrix and Terminal Server Logons by Brian Madden What exactly is a slow logon? It depends on your environment. Some companies have logon processes that complete in a few seconds, while others take a few minutes. Unfortunately, there are some environments in which the logon process takes several minutes; even 20-30 minutes is not unheard of. Understanding the Terminal Server Logon Process The logon process in Terminal Server environments is interesting, especially since it doesn’t necessarily relate to the usability and overall feel of the server in general. From a high level, this sequence of events occurs when a user logs on to a Terminal Server: The user clicks the connect button. Of course this list is just a very high level and has been greatly simplified for presentation here. Now that you’ve seen what happens (or could potentially happen) each time a user logs on, you can start to trace this process in your environment to see where the delay could be. Isolating the Problem Logon Phase 1: Server Selection Conclusion
Some Mandatory Profile Best Practices *** Updated April 16th 2010. « AppSense There are a number of different ways that you can capture a profile that you want to subsequently use as a mandatory profile. My preferred approach is to logon as a non-administrative test user, run whatever applications are needed and configure as appropriate, logoff and then take the resulting ntuser.dat, obviously renamed to ntuser.man, as the mandatory profile’s registry hive. I generally do not have any folders in the folder specified for the mandatory profile – it just contains the ntuser.man file and nothing else. *** Update: However, on Vista, Win7 and WS08, the empty folder AppData\Roaming does need to be created. Once the ntuser.man file has been copied away, I load it as a hive in regedit and then check various elements of it; namely: Security – the Access Control Entries (ACEs) for the user used to generate the profile should be removed and an Everyone – Full Control ACE added in its place. Like this: Like Loading...
Copying or moving SharePoint document libraries - Windows SharePoint Services - Microsoft Office Online From time to time, you might need to copy or move the contents of document libraries from one site based on Microsoft Windows SharePoint Services to another. For example, you might want to copy a snapshot of a document library to another site to archive the information, or you might want to move documents that you own from one site to another as you change workgroups. Use the steps described in this article to move or copy a document library from your current SharePoint site (the source site) to another SharePoint site (the destination site). Copying or moving a document library from a source SharePoint site to a destination is a two-step task. First, you create a Web Folder or Network Place that points to the destination Web site. Next, you use the document library's Explorer view to move or copy the documents from the source Web site to the destination site. Notes Not all of the information in a document library moves with the document. How? The document library name is required.