Wednesday, October 31, 2012

Print a List item in SharePoint 2010


How to print a single list item in SharePoint 2010

You may need to print a single list item in SharePoint 2010. However, this functionality does not exist unless you print with Excel, which isn't what you are looking for anyway.

Following way to print the list item steps, can be found in multiple blogs... ;)

So, how do we go about accomplishing this?


  1. Open a List
  2. Hit the List tab
  3. Click the Form Web Parts dropdownlist
  4. Choose “Default Display Form”
  5. At the top of the Page – Insert Tab, Click the Web Part button to add a new Content Editor web part (CEWP).
  6. From Categories choose “Media and Content” > “Content Editor” and add it to the main section of the page.
  7. Click the “Click here to add content” and then click the HTML button in the Ribbon to bring up the Edit source code window.
  8. In the window add the following code to display a Print Button at the top of the list item window. 

         


  • Ignore any warnings.
  • Next, hit the Page tab at the top of the page to view the List item. You should see the Print button.

  • Hit the Print button to print just the list item.

  • So there you go, with just a little tweaking you can print a single List item.

    Friday, October 26, 2012

    USING WINDOWS FIREWALL WITH NON-SECURE FTP TRAFFIC


    USING WINDOWS FIREWALL WITH NON-SECURE FTP TRAFFIC


    To configure Windows Firewall to allow non-secure FTP traffic, use the following steps:

    Open a command prompt: click Start, then All Programs, then Accessories, then Command Prompt.

    To open port 21 on the firewall, type the following syntax then hit enter:

    c:/> netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21

    To enable stateful FTP filtering that will dynamically open ports for data connections, type the following syntax then hit enter:

    c:/> netsh advfirewall set global StatefulFtp enable

    Monday, October 8, 2012

    Something about Hyperlinks


    Hyperlinks can be categorized into six types:

    Relative link : A relative link connects web pages within the same web site to one another.

    Absolute link : An absolute link connects resources or web pages on different web sites - in other words, to external web sites. An absolute link references a linked document's entire URL.

    e-Mail Link : An email link creates an e-mail message using the user's default e-mail client. You can specify an e-mail address in the link so that the new e-mail message has this information already filled in. This is most common on Contact us pages, for instance the reader can click a staff member's name to generate an e-mail addressed to that person.

    Named anchor: You can create links to particular sections within the same web page or another webpage. this section to which the link jumps is called the named anchor, which is a bookmark within a page. The target section opens with the named anchor section at the top of the page.

    Null link : A null link is an undersigned link. you use null links to attach behaviors to objects or text on a page. For example. you can attach a behavior to a null link so that it will swap an image when the pointer moves over the link.

    Script links : Script links execute JavaScript code or call a JavaScript function and are useful for giving additional information about an item without leaving the current web page. you use script links to perform calculations, validate forms or do other processing tasks when a visitor clicks a specific item.

    Monday, June 25, 2012

    IPV4 and IPV6

    “IP” stands for the Internet Protocol which refers to the communicational protocol or a packet transfer procedure of the Internet.


    Every device which connects to the Internet uses a unique IP address which is an analogue of your home address. Pieces of data are transferred via the Internet from one machine to another, and they are called “packets”. The transfer of packets will be impossible if two machines communicating through the Internet did not have the IPs.


    IPv4 is an older version of an internet address procedure. Now there are no more free IPv4 addresses, all of them are already busy and soon new users will not be able to dive into the Web. That is why there appeared the necessity to have a new version of an internet address procedure.


    IPv6 provided us with free IPs for a thousand years ahead.
    The IPv4 supports a 32 bit address that’s why if we count we had 2^32 IP addresses. IPv6 uses 128 bit address allowing maximum 2^128 available IPs.


    Comparison table of an IPv4 and IPv6 features:


    IPv4


    IPv6
    Addresses are 32 bits (4 bytes) in length.Addresses are 128 bits (16 bytes) in length
    Address (A) resource records in DNS to map host names to IPv4 addresses.Address (AAAA) resource records in DNS to map host names to IPv6 addresses.
    Pointer (PTR)resource records in the IN-ADDR.ARPA DNS domain to map IPv4 addresses to host names. Pointer (PTR) resource records in the IP6.ARPA DNS domain to map IPv6 addresses to host names.
    IPSec is optional and should be supported externally IPSec support is not optional
    Header does not identify packet flow for QoS handling by routers Header contains Flow Label field, which Identifies packet flow for QoS handling by router.
    Both routers and the sending host fragment packets.Routers do not support packet fragmentation. Sending host fragments packets
    Header includes a checksum. Header does not include a checksum.
    Header includes options. Optional data is supported as extension headers.
    ARP uses broadcast ARP request to resolve IP to MAC/Hardware address. Multicast Neighbor Solicitation messages resolve IP addresses to MAC addresses.
    Internet Group Management Protocol (IGMP) manages membership in local subnet groups. Multicast Listener Discovery (MLD) messages manage membership in local subnet groups.
    Broadcast addresses are used to send traffic to all nodes on a subnet. IPv6 uses a link-local scope all-nodes multicast address.
    Configured either manually or through DHCP. Does not require manual configuration or DHCP.
    Must support a 576-byte packet size (possibly fragmented). Must support a 1280-byte packet size (without fragmentation).

    Monday, June 18, 2012

    Undo Send

    Oops, hit "Send" too soon? Stop messages from being sent for a few seconds after hitting the send button.

    Here’s one to help avoid all those “Oops!” moments. Google, being the awesome bunch of coders that they are, allow you to call back emails which you have just sent.
    Steps to Undo the Message:

    1) Go to Settings
    2) Labs
    3) Enable "Undo Send" functionality.
    and done... :)

    Next time you send an email accidentally, just call it back by clicking on Undo.

    Tuesday, May 22, 2012

    Wrong Mail address reflecting in email address lookup while drafting mails


    People find issue with the Lotus Notes 8.x when they draft the eMail. They get automatic list name that they have wrongly added, in there past mails. 


    Solution for this issue is you need to clear your recent contact from your address book, or you can disable this feature.


    Recent Contacts feature can be disabled using any of the following methods: 


    1. Use the following parameter in the client's notes.ini file: 
    DisableDPABProcessing=1 


    2. Make changes in the Contacts section of the user preferences: 
    - Select File --> Preferences. 
    Choose Contacts on the left 
    - Select "Do not automatically add names to the Recent Contacts view" on the right. 


    3. Switch to Notes Basic type-ahead: 
    In the main Notes menu, select File --> Preferences. 
    Choose Basic Notes Client Configuration on the left. 
    In the additional options, check "Disable type-ahead for all name fields and use the Notes Basic type-ahead". 


    This reverts the type-ahead feature back to the Notes V6 and V7 type-ahead functionality and does not pull entries from the Recent Contacts view. 


    You can also implement this change using a Desktop policy on the Preferences --> Miscellaneous tab. The setting is "Disable type-ahead for all name fields and use the Notes Basic type-ahead".



    Note: These methods will prevent new entries from being added to the Recent Contacts view. If you already have existing Recent Contacts, they will continue to be suggested by type-ahead unless you delete the contents of the Recent Contacts view. 

    Monday, May 21, 2012

    CMD Tricks and useful


    Here are some fun tricks used with cmd command:

    1. If your RUN option is disabled and you want to execute cmd then try this. open notepad type command.com and save it as filename.bat. bouble click on it. and your cmd prompt will be displayed.
    2. If you cant open regedit by run open notepad type regedit and save it as filename.bat double click on this and regedit window will open.
    3. Use notepad to abort shutdown. Open notepad and type "shutdown -a" and save it as filename.bat. Now next time when your computer is about to shutdown double click on this bat file, your shutdown will be abort.
    4. CMD fun - open notepad and type shutdown -r 15 and save as filename.bat this will restart your computer in 15 seconds if you want to use this for fun paste this file in system32 and see. computer will restart in every 15 second.