Sunday, June 26, 2016

BSNL FTTH Connecting Issue

If there is FTTH connecting issue check following:

1. Ensure GPON indicator is stable. Blinking indicates means it is trying to connect, so not connected.

2. Ensure Orange and Green light is glowing, this ensures connectivity from device port to your computer/device is OK.

3. Ensure you are using right port. In most of the case it is Eth1 but for some reason it was Eth3 in my case.

BSNL FTTH - Open Modem / Device Settings Page

Recently I got BSNL FTTH installed but I could open device settings page. I prefer device to do connection instead of dialing (PPoE) from computer.

Resolution: You should use Eth1 port.

In my case I had to use Eth3 port for some reason that was cause of issue. I guess Eth3 is used for IPTV.

Here is one more picture of device:

FYI: IP for device settings is so your computer's IP should be in same sub net ( example: to open it. Username: root , Password: admin

Monday, April 27, 2015

SharePoint 2013 Picture Library to Slider / Carousel

Using OTB Picture Library to show images Slider / Carousel.
You can use any plugin you wish, I am going to show you how you actually generate required HTML.

I have supposed you have created your picture library which already contains images.

Now to convert it into Slider / Craouse, follow these steps:

Step 1: Create a XSL file which will actually generate required HTML

I am here trying to generate required HTML for FlexSlider2

Top part of HTML content

Middle part of HTML content which will be repeated for each image

You can use following tokens
  • @FileRef Image file URL
  • @Title Title of image
  • @Description Description of image
  • @ImageWidth Image width
  • @ImageHeight Image height
  • @ID Numeric ID of image
  • @UniqueId GUID of image

Note: Put token in curly braces if using in tag's attribure value

Bottom part of HTML content

Click on this button to generate required XSL:

Open text editor and create a text file with above content and name it "piclib-slider.xsl".
Put piclib-slider.xsl file in somewhere in SharePoint, say 'Style Library'

Step 2: Add Picture Library to target page

Navigate to page where you want to put slider
Put the page in Edit mode
On Insert tab click on WebPart and then select your picture library app from Apps group to insert on page

Put URL of XSL file we created in Step 1 above by:
Edit WebPart > Miscellaneous > XSL Link
Finally click on OK button to save it.

Now you should see all images coming up on page.

Step 3: Add Embed Code on page

We'll put Embed Code below our Picture Library WebPart to put initialization script.

Put the page in Edit mode and then:
Go to Insert tab > Embed Code
Put your initialization code, in my case it is:

Save page and you should see slider now.

Saturday, October 11, 2014

SharePoint 2010 Project Tasks List - Dashboard

It is just a coincident I see a requirement for Project Tasks List dashboard on StackExchange which I recently did for my self.

The overall goal is to show tasks progress in fill bar with overall status. The solution is no server side code solution so it can work in all environment. Following is screenshot how it will look like finally:

Here are step by step guide:

1. Create your Project Tasks list

2. Create a new view

(a) Ensure all required columns are included

(b)Ensure all items return in one set and not in batch.

3. Upload XSL file to a document library.

4. Add List WebPart to page

5. Edit List WebPart
(a) Select View that we created

(b) Put XSL file path that has been uploaded to document library

Now you should see similar like this:

Saturday, July 26, 2014

How To Figure Out SharePoint List or Document Library Column's Internal Name

SharePoint List and Document Library has a fixed internal name beside title of that field shown to user.
This field remains unchanged throughout the column's existence in that list.

Here is the simplest approch to figure out internal name of a field / column

  1. Go to list's settings page

    List's settings option shown in ribbon's 'List' tab

  2. Click on the field / column name
    Under "Columns" section click on desired column name

  3. Notice the last part of url that says "Field=", the value after that is internal name of fieldCopy all text after "Field=" 
  4. Now decode the value.
    Open , paste the test, and click on "Decode".
    This is the internal name of field.

That's all, hope you found it helpful.

Wednesday, July 9, 2014

SharePoint 2013 - Access denied error message when accessing anonymous permission list using client side object model or javascript

We had a list having anonymous access but after migrating from 2010 to 2013 we started getting error.
The anonymous permission was there but still getting error.

After searching I found a blog and it helped me in solving this.

This is what I did in my case:
1. Go to site collection
2. Site Seettings > Site Permission
3. Click on "Anonymous Access" in ribbon menu
4. Uncheck "Require Use Remote Interfaces permission"

And it again started working...  :)

Thanks for reading this and I hope someone will be benefited.

Saturday, April 5, 2014

Nintex - HTML to PDF - Force Page Break

Recently we had required to force a page break on converted PDF file from HTML content.

I gave it try with following but did not work:

<div style='page-break-after:always;'></div>

It looks like using just div does not works, it might be due to that div with no content is not visible on page.
So I applied the css to the table tag and it worked, following is working code:

<table style='page-break-before:always;'>...</table>

Hope this will be helpful to someone and save time!