Quantcast
Viewing all articles
Browse latest Browse all 10

Changing the formatting on a view – remove comma from BDC field

If the BDC field used is numeric, and not text, then you may see the item in the biew containing a column.

If this is an ID field, you may not want this.

To Remove:


Option 1 : SharePoint Designer

1) Open SharePoint Designer, and open the relevant site
2) Right click the data form web part, and click “Convert to XSLT Data View”
3) Go to the column and format without the thousand seperator

Downside : The BDC links may no longer work.  No longer able to modify the view.

Option 2 : Hidden Field


1) Create a hidden, calculated field, as follows:

=TEXT([column name],”0″)

2)  Display this column in the view instead.

Downside : No BDC links

Option 3 : Modify the BDC


1) Amend the BDC to return the field as text, rather than a numerical field

Downside : More work, may affect other items that use the same BDC


Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 10

Trending Articles