2011-02-23

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

SPMetal, Missing CreatedBy and ModifiedBy fields

Itay Shakury's good post about making SPMetal generate CreatedBy, ModifiedBy including classes.
http://blogs.microsoft.co.il/blogs/itaysk/archive/2010/09/22/spmetal-default-fields.aspx

Labels: ,

2011-02-22

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Creating and Calling WCF Services in Sharepoint 2010, and Querying them using JQuery

Labels: , ,

2011-02-18

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

How to construct CAML queries?

CAML Query Tools
http://msdn.microsoft.com/en-us/library/ff648040.aspx


U2U CAML Builder
http://www.u2u.net/res/Tools/CamlQueryBuilder.aspx

  • U2U CAML Query Builder Feature. This is a SharePoint version of the U2U CAML Query Builder tool. It is installed as a feature; developers can use it to build queries directly inside of SharePoint.

  • Stramit SharePoint CAML Viewer. This is a Windows-based application that is similar to U2U CAML Query Builder.

  • CAML.NET. This is a .NET Framework assembly that provides an abstraction to CAML. Developers can use it to dynamically create queries with a set of .NET Framework classes.

Labels: ,

2011-02-17

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

If you still see removed webparts, delete them from Site's Webpart Gallery

If you still see the deactivated / removed feature's webparts, you can go to the WebPart Gallery (/_catalogs/wp/Forms/AllItems.aspx) and delete them from there.


If you still see the deactivated / removed feature's webparts, you can go to the WebPart Gallery (/_catalogs/wp/Forms/AllItems.aspx) and delete them from there.ref: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/ff9338f2-89db-40a2-9b9d-ca4a32d8d573

Labels: ,

Exposing Custom Properties in Sharepoint 2010 Virtual Webparts

Exposing Custom Properties in Sharepoint 2010 Virtual Webparts

Labels: ,

2011-02-16

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

What are Sharepoint Limits?

SharePoint Server 2010 capacity management: Software boundaries and limits



Labels: ,

Diagnosing ASP.NET Apps

Diagnosing Stack Overflow Faults in ASP.NET Production Environments
http://blog.tatham.oddie.com.au/2009/07/04/diagnosing-stack-overflow-faults-in-asp-net-production-environments/

Labels: ,

2011-02-15

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Which way to go, Extensibility Kit or Custom Site Definition for Commerce on Sharepoint?

Stelio Di Bello's good post about "Anatomy of a Sharepoint Project using Commerce Server 09"

Labels: ,

2011-02-14

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Creating Workflows with Visio 2010, for Sharepoint 2010


Creating Workflows In Visio 2010 and SharePoint Designer



Creating workflows for SharePoint 2010 with Office Visio 2010



Creating SharePoint 2010 workflows with Visio 2010


Labels: , ,

Howto create My Sites on SharePoint 2010

> Configuring My Site in SharePoint 2010


> SharePoint 2010: Activating My Sites



> Set up My Sites (SharePoint Server 2010)



> Manage My Sites settings (SharePoint Server 2010)

Labels: ,

2011-02-11

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Working with Virtual Catalogs


Since CS2002 i have been actively using Virtual Catalogs in commerce server. They are very useful, if you are createing a campaign for a limited time, temporary catalogs like for Valentine's Day, Christmas, .. etc also they enable you to create country specific catalogs as well. However you need to be careful when you are designing your virtual catalog usage approach as you may experience some problems in the rebuilding operation if you use "materialized" virtual catalogs.

.

Materialization is a concept that has been introduced to increase the performance of virtual catalog queries. Normally virtual catalogs are like database views, they are not phisically available on the disk, but whene you "materialize" them using the catalog manger and tick the checkbox, behind the scenes the view becomes a table and all the data will be available on the disk providing you a better query perormance.

So far so good. when it comes to REBUILD the virtual catalogs normally there are no problems with non-materialized ones, but rebuilding a materialized virtual catalog takes more time and sometimes you experience deadlocks.

.

Ravi explains what to be aware of when using virtual catalogs and ehwn to materialize them.

.

Vinayak's post also guides you when to use materialized and when not to use non-materialized virtual catalogs.

.

Ravi Kanth Koppola's article "VIRTUAL CATALOG REBUILD HANGS"


Vinayak Tadas's article "Virtual Catalogs : To materialize or not to materialize"


Labels: , , , ,

2011-02-08

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

How to use a predefined tracking number for placing an Order?

Commerce Server 2007: How to use a predefined tracking number for placing an Order?
http://blogs.msdn.com/b/nihitk/archive/2006/06/21/cs2007-predefined-trackingnumber-for-order.aspx
HOW TO AVOID DUPLICATE ORDERS NUMBERS IN COMMERCE SERVER

Labels: ,

2011-02-07

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Howto copy/move a Commerce Server Installation among servers

the supported, and automatic way of copying/moving a  site from one server to another is by using Commerce Server Site Packager. Site Packager application can pack (create a *.PUP file), or unpack an existing PUP file to create another installation for the same code. Sometimes, creation of PUP file fails. So how should we copy/move all code and data and configure Commerce Server according to that?

Below are rough steps explaining how to achieve this goal by manual steps:


1) You can backup restore all the databases

2) which pup you have used to create the current site? StarterSite.pup, CharpSite.pup, ContemporarySiteWithData.pup, .. etc Take that pup file and unpup it to the new machine.  Follow the same procedure when you have initially unpacked the file for current site's development. All the paths names should be the same.

3) Overwrite all the newly created databases in step 2 with the db backups in 1. Restore those dbs on the new created ones.

4) copy the code from original machine to the new machine. Overwrite all existing ones.

5) check the connectionStrings in web.config files in:

5.1) Site's web.config.


5.2) WebServices' web.config


6) go to Commerce Server Manager, and make sure that all the connection string settings are configured as pointing to the new databases which were overwritten.

------

If you are using Commerce Server 2007, on a IIS7 box have a look at the following article. It may be helpful if you remove FTP sites temporarily to make the packager work:  Error when using Site Packager (PUP) on IIS7
http://www.victorocastro.com/2010/06/13/commerce-server-error-when-using-site-packager-pup-on-iis7-107/

Labels: , ,

Commerce Server R2 Architecture

Fantastic "Commerce Server R2 Architecture" article by Ravi Kanth Koppala. In this article Ravi describles the new 3-tier approach that is introduced by R2 version of Commerce Server. This way the commerce installations can be on a seperate machine, rather then the front end web servers, hence increasing the performance.
http://microsoftblog.co.in/commerceserver/commerce-server-r2-architecture/

Labels: , ,

2011-02-04

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Previewing Commerce Server Marketing Campaigns

How to preview your Commerce Server marketing data

Labels: , ,

2011-02-02

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Sharepoint Url Redirection

Forum Question: "Best practice for SharePoint vanity url/redirection"
http://stackoverflow.com/questions/1201180/best-practice-for-sharepoint-vanity-url-redirection


Redirection options in SharePoint


SharePoint URL Shortener (Commercial App)


SharePoint Smart 404 Feature (Free App)


Labels: ,

Sharepoint Variations



If you don't see the "Variations" link on your "Site Settings" below "Site Collection Administration" topic,

probably you haven't activated the "SharePoint Server Publishing Infrastructure" feature, after activating it you should be able to see Variations link.


.


"Interestingly enough, using variations and creating the heirarchy in Sharepoint creates links to the sites on the quick launch, but does not expose the Variations control, which you have to manually uncomment out in the VariationsLabelMenu.ascx page in ControlTemplates"



.


.

Variations in SharePoint 2010 – Connecting People with Content



.

Best practices to build multi lingual solutions with SharePoint 2010


Implementing multilingual solutions with SP2010, Spencer Harbar


Fun with Variations, MOSS2007



Labels: , ,