mardi 7 septembre 2010

Hardware and software requirements (SharePoint Foundation 2010)

Hardware and software requirements (SharePoint Foundation 2010)

vendredi 10 juillet 2009

Javascript & SharePoint

Bonjour, Aujourd'hui, j'ai pour vous un post trés important et ca concerne l'implementation de javascript dans SharePoint, et surtout les built-in functions que le developpeur peut utilisé afin de mettre en oeuvre quelconque solution comme l'obligation de saisir certains champs dans le cas ou une condition a été rencontré, ou obtenir les informations présentes dans les urls, etc. http://www.sharepointdevwiki.com/display/public/SharePoint+JavaScript+Functions+Overview Et bon dev

lundi 6 juillet 2009

Activé la jointure de fichier (Solution 2)

Bonjour,
Dans ce post, je vous ferai part d'une solution, pas trop difficile à déployer et ne nécessite pas trop de modification sur le code :


Note : WSS 3.0 SP1 doit être installer sur la machine.

jeudi 2 juillet 2009

Activé la jointure de fichier (Solution 1)

Pour la plus d'entre vous, surtout ceux qui ont un contact pour la premiere fois avec la technologie SharePoint, rencontrant un problème d'attachements des fichiers à une liste personnalisé.

Aprés des recherches sur le net, j'ai trouvé un article qui est lié meme à ce post et qui vous explique les differente étapes à procéder pour réactivé la jointure des fichiers.

Ci-joint, vous trouverez le fichier (.rar) qui contient le tout le projet et un fichier (.txt) d'explications qui peuvent être d'une valeur ajouté au post.



Et je remercie celui qui a publié l'artcile ci-dessous duquel j'ai pu ajouté mon post :
http://cid-6d5649bcab6a7f93.spaces.live.com/blog/fakehandlerpage.aspx?sa=349202093

lundi 2 février 2009

Hide columns on a list form

was remembering the days i had some problems to lead to my object in sharepoint.
and one of them was how to hide fields from the edit or new form in sharepoint lists, so i found how and im gonna share it, also there's a message from Karol who motive me and bring me to the right way of sharing my knowledge, thanx again.
finally, im not sure if it will help you, but for me it does.

first of all, you must open the site in sharepoint designer, go to the desired list and for example check in the EditForm.aspx, and after open it.
Now you will have that view :

Now, you must hide that control to bring another one customized.so to do that, right click on the form, property of the webpart component, a popup will flaunt, go to disposition (second grouping), and check hide option.

after you complete that, in the menu bar, go to insertion, sharepoint controles and go to the fourth choice (customize form list ...), now another pop up will appear, select your list name in the first dropdown and select elemnt in the second, after check how you want sharepoint designer to generate you form (edit, new or disp), and now you will see your form customized and ready to submit any changing from you.
our propose is to hide a field. select the fiel you want to hide, in parallel the code concerned will also be selected, now just delete it or put it as a commentary (between , like in html), now the rendered form will appear without the field :).
finally save the form, and check out.

i hope i come acroos your problems, and it will help you in your career.

jeudi 13 novembre 2008

Permission on columns

One day i found a question on how to lock permission down on columns, for exemple to provide a specific column for update to specific users.
Based on that, i decide to provide that simple exemple who will provide the way to do that.
I admit that we have a list ‘purchase request’ that contain those column :
Complet name, designation, quantity (text)
superior (user field)
statut (dropdownlist[Approve/reject])

The first step :


Customize the pages for hiding the columns that a customer musnt view when creating or updating the request (NewForm.aspx,EditForm.aspx).So ,for that need we’ll add a new custome form to the designed pages:
* Open SPD with the choosen site
* go to the liste above -> right click on NewForm .aspx -> click chek in




* Now open the page -> right click on the webpart inside -> click on webpart properties -> go to disposition -> check the two case there

* Now put your cursor under the webpart -> go to up in the menubar->choose insert->sharepoint component->choose webpart zone


* Now click inside the zone how has been added -> go to up in the menubar->choose insert-> sharepoint component->choose custom form list-> in the window appeared choose the kind of your form(in our case we’ll choose New)


*once the page has been added you could cusomize it as you like (in our case we’ll delete the field ‘statut’)


*once done, we’ll save the modification, go to the page->right click and check out


Now we’ve our new page customized for the customer, we must do the steps for Editform.aspx too but instead of choosing New in the custom form list, we’ll choose Edit


The second step :


Create the Edit page for the superior who will display all the fields(like in DispForm page) except ‘Statut’ field .For that need, we will create a directory ‘SuperiorDashbord’ inside the list, copying EditForm.aspx inside it, rename it(EditForm_superior.aspx) and then customize it as we did for the previous pages.

Note :
to change the display of field to a simple text, you've to put sharepoint tag who present that field between comment tags, and then add the xsl tag for diplay the text(xsl:value-of).


Now we must rely that page to a view that we'll create.
first thing, we'll copy the EditForm_superior.aspx inside the same directory in above, change its name to DashbordSuperior.aspx (for example) and after delete all the content and let just the main zone.

After, we click inside it, and drag and drop the 'Purchase request' list inside it, then right click on the view and select 'convert to xslt'.

After, we'll customize the look and feel of the view by clicking the little arrow in right side of the view then a popup will appear with all the properties of your custome view so you could limit the pagination, filter the view, change the column, sort, hide sharepoint toolbar and so on ....

for this exemple, i hided the SP toolbar, checked data view exemple, filtred the view to let superior see just the request Which they are affect, and who have 'under way' statut :

After that, you must link that view to the EditForm_Superior.aspx to let superiors updating the statut of the request.In this example we'll use the Title field to accomplish the need.
On the view select the code of the Title field(complete name), replace it by the given code :


Now, it remains to edit the view Title "Purchase request [Under way]" and the its appearance.
for that, right click on the view-> webpart compnent properties -> so a window will be displayed and on it you'll edit the look and feel of the view.
All we must to do now, its to remake the steps to create another view "Purchase request [Treated]" who will have the same proporties of the first one except in the filtred mode who will be like follow :
* Statut different of "under way"
And in the url of the link who will be :

At now we're done with the dashbord page, it remains now to put its link in the site and apply the Audience on it to be viewed just by Superiors