Sunday, December 7, 2014

SharePoint online - office365 - 01

/NewForm.aspx?toolpaneview=2# - ბმული ახალი აითემის გვერდის რედაქტირებისთვის

ლისტზე ატტაჩმენტის ველის აუცილებლობის დამატება:

<script type="text/javascript" language="javascript">
function PreSaveAction() {

         var elm = document.getElementById("idAttachmentsTable");
         if (elm == null || elm.rows.length == 0)
{
             document.getElementById("idAttachmentsRow").style.display='none';

alert("Please attach Documents");
return false ;
}
else { return true ;}
}
</script>


<a onclick="UploadAttachment();" href="javascript:void(0)" id="ctl00_ctl43_g_783b963e_f8e1_4aaf_a935_7eca679a18ae_ctl00_ctl01_ctl00_toolBarTbl_RptControls_diidIOAttach">Upload CV</a>​

SharePoint 2013 on Office 365 vs Standard Intranet SharePoint 2013

ჯერ მინდა ავღწერო SharePoint 2013 on Office 365

1.  ხელმისაწვდომობა - ფასები
2. სიჩქარე მუშაობის კომფორტი
ამ პუნქტთან დაკავშირებით მინდა ვთქვა საკმაოდ ძნელია მუშაობა, მაგალითად, წეთი workflow დაპაბლიშება-გატესტვაში მიდის დაახლოებით 5 წთ. მოგეხსენებათ რამდენი ვერსიის გატესტვა გიწევს ვიდრე სასურველ შედეგს მიაღწევ..
3. შესაძლებლობები/ შეზღუდვები


Standard Intranet SharePoint 2013
1.  ხელმისაწვდომობა - ფასები
2. სიჩქარე მუშაობის კომფორტი
3. შესაძლებლობები/ შეზღუდვები
 პირველი რაც საჭირო გახდა, App store ის გამოყენებისთვის ცალკე დომეინის აწევა, რამდენად გამოვა, როდესაც აბსოლუტურად რემოუთად მუშაობ არ ვიცი..
კარგი სტატია ვიპოვე გავყვები შედეგებს დავწერ :
http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx

სულ მაოცებს, რატომ ჩნდება კარგი პოსტები msdn ის გარეთ, და ძალიან იშვიათად თუ გვადეგება Microsoft-ის ეს რესურსი, არამედ, წერს უბრალო კეთილი ხალხი გასაგებ ენაზე და იყენებს შემდეგ თვითომ Microsoft-ის თანამშრომლები.
მოკლედ ლირიული გადახვევის შემდეგ, ვაყენებ დომეინ სერვერს app ს ასაწევად.

უმნო: The most important change in SharePoint 2013 for developers is the introduction of SharePoint apps. An app for SharePoint is a small and isolated application that provides a specific bit of functionality. SharePoint apps can and have to be added to or removed from a site by the site owner.  Apps have their own, isolated URLs, which are separate from the URLs of the sites where the app is being deployed to and where the app is being used. In order to provide isolation apps run in their own domain, instead of in the same domain name as your farm. Using a different domain name for apps helps prevent cross-site scripting between apps and SharePoint sites. 

სამწუხაროდ, აპპ სერვერი ვერ ავაწყვე, მოითხოვა ლიცენზიები და ა.შ. როდესაც არც დომენზე არც შეარპოინტზე არაა შესყიდული ლიცენზია :(



Sunday, January 19, 2014

eval - ფუნქცია repeting table list merge

როდესაც შემოგვაქვს secondary connection  ფორმაში, და გვინდა ველებისთვის concat ფუნქციის გამოყენება ვიყენებთ შემდეგ ფორმულირებას:


eval(eval(SharePointListItem_RW, 'concat("@", d:ID[../d:SoldNumber = 1], ";")'), "..")




1. 'concat("@", d:ID[../d:SoldNumber = 1], ";")' - აეთიანებს @ დაფილტრულ ველს(აუცილებლად მისათითებელია ველი xფორმატში -პირდაპირ არჩეულს ვერ ხედავს) და ";" - გამოგვდის კონსტრუქცია, რომლის დაფილტვრაც შესაძლებელია შემდეგი პროცესის აღძვრისათვის.
2. eval(SharePointListItem_RW, 'concat("@", d:ID[../d:SoldNumber = 1], ";")') - ჩამოუბენს repeating ლისტს, და აკრიფავს შესაბამის ID ებს.
3. eval(SharePointListItem_RW, 'concat("@", d:ID[../d:SoldNumber = 1], ";")') - გარდაქმნის სტრინგად.

InfoPath: Lookup with formatted dates is possible


SharePoint 2010 & InfoPath: Lookup with formatted dates is possible

I created a dataconnection to the calendar list, then i added a dropdown to my form and choose the dataconnection as source. I set the filter to starting date (Event Date) to greater than today and the result does not make me smile:

Can anyone tell me why the output is so unpretty? I expected to get a format like 17.05.2012 13:00:00. Anyway why can’t i tell the dropdown how to format the values? I can’t show this my client and tell him “Well that’s SharePoint o InfoPath”. So i tried it several things till i came to the desired solution.
The source is the source
That’s true for this. At first you have to create a calculated column in your calendar list with this formular:
=TEXT([ColumnName],”dd.mm.yyy hh:mm”)
Remember that english / german might need other formulas like a semicolon instead of a commata or at the date format.
After that i updated my data connection in the form and added the new column. Now i can choose that the new column should be the display column in my lookup and it will display the values like i wanted:

Great, it is possible with a little trick with standard features, but it surprised me that i had to use this workaround.

Monday, January 13, 2014

SharePoint 2010 & InfoPath: Lookup with formatted dates is possible


I am sure this post is not really new, but i would like to share some thoughts with you. I had to create a InfoPath fom which contains a lookup / dropdown to another SharePoint list – a calendar. In the lookup there should be all the starting times of the calendar which are greater than today. No Problem with the filtering possibility in InfoPath.
I created a dataconnection to the calendar list, then i added a dropdown to my form and choose the dataconnection as source. I set the filter to starting date (Event Date) to greater than today and the result does not make me smile:

Can anyone tell me why the output is so unpretty? I expected to get a format like 17.05.2012 13:00:00. Anyway why can’t i tell the dropdown how to format the values? I can’t show this my client and tell him “Well that’s SharePoint o InfoPath”. So i tried it several things till i came to the desired solution.
The source is the source
That’s true for this. At first you have to create a calculated column in your calendar list with this formular:
=TEXT([ColumnName],”dd.mm.yyy hh:mm”)
Remember that english / german might need other formulas like a semicolon instead of a commata or at the date format.
After that i updated my data connection in the form and added the new column. Now i can choose that the new column should be the display column in my lookup and it will display the values like i wanted:

Great, it is possible with a little trick with standard features, but it surprised me that i had to use this workaround.