How to Send an EMail From WebPart in MOSS 2007

Hi devs,
The following is the piece of code to send Email from webpart.

izmantojot sistēmas;
izmantojot System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections.ObjectModel;
using Microsoft.SharePoint.Utilities;
izmantojot Microsoft.SharePoint;
using System.Data;
using System.Collections;
namespace SendMail
{
public class SendMail : Microsoft.SharePoint.WebPartPages.WebPart
{
private TextBox txtTo;
private Button btnSendMail;
protected override void CreateChildControls()
{
txtTo = new TextBox();
this.Controls.Add(txtTo);
btnSendMail = new Button();
btnSendMail.Text = “Send Email”;
btnSendMail.Click = new EventHandler(SendMail_Click);
this.Controls.Add(btnSendMail);
}
void SendMail_Click(object sender, EventArgs e)
{
SPSite _site = new SPSite(HttpContext.Current.Request.Url.ToString());
SPWeb _web = _site.OpenWeb();
_web.AllowUnsafeUpdates = true;
SPUtility.SendEmail(_web, nepatiess, nepatiess, txtTo.Text, “Test Email”, “Text Body Message”);
_web.Dispose();
_site.Dispose();
}
}
}

Create the WebPart and register it as SafeControl

MOSS 2007 Cenu & Izmaksu Info

Man ir konsolidēti dažas saites no Microsoft MOSS 2007 Produkts Izmaksu.

Microsoft Office SharePoint Server 2007 un saistītās tehnoloģijas cenu

Microsoft Office SharePoint Server 2007 produkti salīdzinājums lejuplādēt

2007 Microsoft Office sistēma cenu un uzlabot informācijas

Kā paslēpt ātrās palaišanas MOSS 2007

Vai jūs vēlaties, lai slēptu savu ātrās palaišanas joslā Moss 2007
Ir divi veidi, kā paslēpt ātrās palaišanas joslā
1. Jūs varat rediģēt tieši CSS
2. Pievienojot slēpto satura redaktors webpart

Add new content editor webpart
Click Source Editor in ToolPane
paste the below code in content editor webpart
[stils]
.ms-QuickLaunch
{
display:none;
}
.ms-navframe
{
display: none;
}
[/stils]
Use “<" & ">” instead of “[” & “]”
Set the Hidden Property to True under layout section in ToolPane.
Now Refresh the Page……You Quick Launch Bar is Gone 🙂

Presenter veidošanā nākotnes semināra

I presented the Demo on Architecting distributed applications using Grid Architecture in Accenture Shaping the Future workshop. Šī ir mana otrā prezentācija Accenture s Veidojot nākotni.

Kā piespiest MOSS 2007 Taimeris Darbs izpildīt

Izmantot šādu stadm komandu piespiest taimeri darbavietu darbus izpildīt.
nav nepieciešams gaidīt intervāls izpildīt timerjobs.
stsadm.exe -O execadmsvcjobs

MOSS 2007 Pārdēvēt Web aplikāciju nosaukums

Es vēlos dalīties, kā pārdēvēt tīmekļa lietojumprogrammu nosaukumu komandrindas administrēšanā MOSS 2007 izmantojot STSADM komandu.

Sintakse:
stsadm -O Renameweb -URL -newname

Piemērs:
Stsadm -O Renameweb -URL http://localhost / oldname -newname NewName

Iepriekš komanda būs pārdēvēt interneta lietojumprogrammu no oldname līdz NEWNAME.

Commerce Server 2007 Integrācija ar sūnām 2007

MOSS ir daudzas iekšēja funkcijas. Šī Pasta darbības joma ir integrēt Commerce Server 2007 ar MOSS 2007 lai nodrošinātu portāla integrēts e-komercijas aplikāciju

MOSS konfigurēšana 2007 Lai izmantotu Commerce Server Membership sniedzējs kā pamats lietotāju autentifikāciju

The primary tasks are to make the Central Administration and Portal sites hand-shake with Commerce Server. This needs to be done by modifying the appropriate Web.config files for these sites. By adding the Commerce Server and httpModules sections, the SharePoint Central Administration site and the Portal site will be able to create the necessary CommerceContext object. The CommerceContext object enables the Commerce Server Membership Provider to be initialized correctly, and also enables Web parts and pages in the portal to use the CommerceContext object to access Commerce Server resources such as the Product Catalog.
The UpmMembership Provider extends the Membership framework offered by ASP.Net to accommodate the use of the ASP.Net Login Controls and authenticate against Commerce Server Profiles.

Update the Web.config for MOSS Central Administration and in Portal site with below sections to avail Commerce Server data and services in MOSS

  • Commerce Server Section Group
  • Commerce Server Group
  • Http Modules
  • Assemblies
  • Membership Provider
  • Profile Section

o Determine which Web.config file is used for the SharePoint Central Administration site and which is used for the Portal site. Use the Home Directory tab in IIS Manager to determine the appropriate path of the Web.config file for each site.

o Use the Web.config file that was previously created for the Commerce Server C SharpSite as the source for the text to copy in the following instructions:

Please follow the below steps to modify the web.config file of SharePoint administration site.

Step 1: Adding Commerce Server Section Group
Copy the Commerce [sectionGroup] jo [configSections] and paste it after the [System.Workflow.ComponentModel.WorkflowCompiler] section group.
[sectionGroup name=”CommerceServer”]
[section name=”application” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”authentication” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”pipelines” type=”Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”caches” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”messageManager” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”catalog” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”orders” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”profiles” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”contentSelection” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”commerceEvent” type=”Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[section name=”expressions” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceExpressionSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[/sectionGroup]
Step 2: Adding Commerce Server Group
§ Copy the [CommerceServer] section and paste it after the [SharePoint] section, just before the [system.web] section.

[CommerceServer]
[application siteName=”CDevSite” debugLevel=”Production”/]
[pipelines][/pipelines]
[expressions schema=”Auto”/]
[caches]
[cache name=”Reklāma” type=”Reklāma” refreshInterval=”900″ retryInterval=”30″/]
[cache name=”Discounts” type=”Discounts” refreshInterval=”0″ retryInterval=”30″/]
[cache name=”ShippingManagerCache” type=”Shipping” loaderProgId=”Commerce.ShippingMethodCache” refreshInterval=”0″ retryInterval=”30″/]
[cache name=”PaymentMethodCache” type=”Payment”/]
[cache name=”OrdersConfigurationCache” type=”OrdersConfiguration”/]
[/caches]
[messageManager]
[cultures default=”en-US” baseName=”CommerceMessageManager” assembly=”CommerceMessageManager”]
[culture id=”en-US”/]
[culture id=”fr-fr”/]
[culture id=”ja-JP”/]
[culture id=”de-DE”/]
[/cultures]
[resources]
[resource id=”pur_badsku”/]
[resource id=”pur_badplacedprice”/]
[resource id=”pur_discount_changed”/]
[resource id=”pur_discount_removed”/]
[resource id=”pur_noitems”/]
[resource id=”pur_badshipping”/]
[resource id=”pur_badhandling”/]
[resource id=”pur_badtax”/]
[resource id=”pur_badcc”/]
[resource id=”pur_badpayment”/]
[resource id=”pur_badverify”/]
[resource id=”pur_out_of_stock”/]
[resource id=”unknown_shipping_method”/]
[/resources]
[/messageManager]
[orders honorStatus=”patiess” newOrderStatus=”NewOrder” sqlCommandTimeoutSeconds=”60″ sqlLongRunningCommandTimeoutSeconds=”28800″]
[addressMap]
[profileDefinition name=”Adrese”/]
[property from=”GeneralInfo.address_id” to=”OrderAddressId”/]
[property from=”GeneralInfo.first_name” to=”Vārds”/]
[property from=”GeneralInfo.last_name” to=”Uzvārds”/]
[property from=”GeneralInfo.address_line1″ to=”Line1″/]
[property from=”GeneralInfo.address_line2″ to=”Line2″/]
[property from=”GeneralInfo.city” to=”City”/]
[property from=”GeneralInfo.region_code” to=”RegionCode”/]
[property from=”GeneralInfo.postal_code” to=”PostalCode”/]
[property from=”GeneralInfo.country_name” to=”CountryName”/]
[property from=”GeneralInfo.region_name” to=”Valsts”/]
[property from=”GeneralInfo.tel_number” to=”DaytimePhoneNumber”/]
[/addressMap]
[Types]
[Type Key=”Basket” UserTypeName=”Basket” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”PurchaseOrder” UserTypeName=”PurchaseOrder” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”OrderTemplate” UserTypeName=”OrderTemplate” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”OrderForm” UserTypeName=”OrderForm” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”LineItem” UserTypeName=”LineItem” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”Shipment” UserTypeName=”Shipment” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”Payment” UserTypeName=”Payment” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”CreditCardPayment” UserTypeName=”CreditCardPayment” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”GiftCertificatePayment” UserTypeName=”GiftCertificatePayment” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”PurchaseOrderPayment” UserTypeName=”PurchaseOrderPayment” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”CashCardPayment” UserTypeName=”CashCardPayment” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”OrderAddress” UserTypeName=”OrderAddress” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”DiscountApplicationRecord” UserTypeName=”DiscountApplicationRecord” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”ShippingDiscountRecord” UserTypeName=”ShippingDiscountRecord” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[Type Key=”PromoCodeRecord” UserTypeName=”PromoCodeRecord” AssemblyType=”GAC” NameSpace=”Microsoft.CommerceServer.Runtime.Orders” Assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[/Types]
[Limits OrderFormsPerOrderGroup=”5″ PromoCodeRecordsPerOrderForm=”10″ PromoCodesPerOrderForm=”10″ LineItemsPerOrderForm=”40″ OrderTemplatesPerUser=”10″ PaymentsPerOrderForm=”10″ ShipmentsPerOrderForm=”40″ BasketsPerUser=”15″ OrderAddressesPerOrderGroup=”10″/]
[MappingFiles PipelineMappingFilename=”OrderPipelineMappings.xml” StorageMappingFilename=”OrderObjectMappings.xml”/]
[SerializationBindings]
[SerializationBinding OldType=”Microsoft.CommerceServer.Runtime.Orders.LineItem , Microsoft.CommerceServer.Runtime ,Version=6.0.1.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35″ NewType=”Microsoft.CommerceServer.Runtime.Orders.LineItem, Microsoft.CommerceServer.Runtime,Version=6.0.1.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35″/]
[/SerializationBindings]
[/orders]
[commerceEvent]
[add className=”Microsoft.CommerceServer.Runtime.AddItemToBasketEvent” id =”AddItemToBasket”/]
[add className=”Microsoft.CommerceServer.Runtime.RemoveItemFromBasketEvent” id =”RemoveItemFromBasket”/]
[add className=”Microsoft.CommerceServer.Runtime.SubmitOrderEvent” id =”SubmitOrder” loggingEnabled=”patiess”/]
[/commerceEvent]
[/CommerceServer]
Step 3: Adding “CommerceApplication” jo “httpModules” Section
§ Copy the Commerce HTTP Modules to the end of the [httpModules] section.
[add name=”CommerceApplication” type=”Microsoft.CommerceServer.Runtime.CommerceApplicationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceAuthentication” type=”Microsoft.CommerceServer.Runtime.CommerceAuthenticationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceOrder” type=”Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceCatalog” type=”Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceProfile” type=”Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceExpressionEvaluator” type=”Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceCache” type=”Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]
[add name=”CommerceContentSelection” type=”Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/][add name=”CommerceDataWarehouseAuthenticationModule” type=”Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″/]Remove or comment out the Commerce Server Authentication Module. This module is not required because ASP.NET Forms Authentication will be used for all authentications.
Step 4: Adding “Commerce Server” AssembliesCopy the commerce server assembly information from CSharpSite web.config and paste it in the [assemblies] tag in the Central Administration site’s web.config as below:
[assemblies]
[add assembly=”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31bf3856ad364e35″ /]
[add assembly=”Microsoft.CommerceServer.Catalog, Version=6.0.1.0, Kultūra = neitrāls, PublicKeyToken=31BF3856AD364E35″ /][/assemblies]

Step 5: Configure Central Administration to recognize Commerce Server Membership
Copy the below code snippet to [system.web] section of the Web.config file for the Central Administration. Piezīme: Paste it before the closing [/system.web].
[membership defaultProvider=”UpmMembershipProvider”]
[providers]
[clear /]
[add applicationName=”CSharpSite ”
enablePasswordRetrieval=”nepatiess”
enablePasswordReset=”patiess”
requiresQuestionAndAnswer=”patiess”
requiresUniqueEmail=”patiess”
enableCreateDate=”patiess”
enableEmailAddress=”patiess”
enableLastLoginDate=”patiess”
profileDefinition=”UserObject”
passwordFormat=”Hashed”
name=”UpmMembershipProvider”
type=”Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider”/]
[/providers]
[/membership]

Step 6: Configuring the Commerce Server Profiles section

This section contains settings which configure the functionality of profiles and catalog sets. The [userProfile] node resides in the [CommerceServer][profiles] node in the web.config.
Uncomment the profiles section in [commerceserver] node.

[userProfile
profileDefinition=”UserObject”
userIdProperty=”GeneralInfo.email_address”
organizationIdProperty=”AccountInfo.org_id”
catalogSetIdProperty=”AccountInfo.user_catalog_set”
userIdSource = “ASP.NET”
userIdKey = “GeneralInfo.email_address”
userIdTarget = “GeneralInfo.user_id”
/]
[organizationProfile
profileDefintion=”Organization”
organizationIdProperty=”GeneralInfo.org_id”
catalogSetIdProperty=”GeneralInfo.org_catalog_set”
/]

Step 7: Adding Users in the Central AdministrationLocate Central Administration, Pieteikums vadība, Authentication Providers, Default zone entry. Make sure that you have the PortalSite Web Application selected in the drop-down list.

o Click Forms.

o Change the Membership Provider Name to UpmMembershipProvider. This should match the name that is in the membership section of the Web.config file.Locate Central Administration, Pieteikums vadība, and Policy for Web Application. Make sure that you have selected the Portal Web Application.

o Click Add Users.

o Select Default zone, and then click Next.

o Type the e-mail address of the user that you added previously by using the Commerce Server Customer and Orders Manager, and then click Check User.

o If the user name is successfully recognized, it will be underlined. Select Full control, and then select Finish.

o If the user name is not recognized, run a SQL Server trace on the Commerce Server Profiles database to make sure that the queries are running against the database. Additionally, make sure that the entry for the provider is in the Web.config file for Central Administration, and look for errors in the event log.

Step 8: Copy the following XML files from the CSharpSite (IIS Virtual Directory) to the root folder of the Central Administration site:

o OrderObjectMappings.xml
o OrderPipelineMappings.xml

Run Central Administration to make sure that these changes were made correctly. If errors occur, check the Web.config file for syntax issues.Even if the page displays correctly, check the event log. Some permissions errors may be hidden.

Configure the MOSS portal to use the Commerce Server Membership provider:
Step 1: Follow the above 6 steps to configure Portal site for Commerce Server.

Step 2: Comment out the existing [authentication], [identity], un [authorization] sections. This will disable the default Windows authentication and authorization.

Step 3: Copy the below configuration settings contents to the Web.config file for the Portal site. Paste this after the previous sections that you just commented out. This sets up the site for Forms Authentication and denies anonymous access.

[authentication mode=”Veidlapas”]
[forms loginUrl=”/_layouts/login.aspx” name=”.ASPXFORMSAUTH” /]
[/authentication]
[authorization]
[deny users=”?” /][/authorization] View the Portal site in a Web browser. You should be redirected to the logon page. Log on and use the user credentials that you added by using the Customer and Orders Manager.

Step 4: Copy the following XML files from the CSharpSite (IIS Virtual Directory) to the root folder of the Portal site:

o OrderObjectMappings.xml
o OrderPipelineMappings.xml

Step 5: Restart the IIS

Step 6: Run the Portal site and look for errors.

[Piezīme : I am not able to Post scripts tag in here replace all “[” & “]” with “<" & ">“

Bezmaksas Microsoft Press E-grāmatas Piedāvājums LINQ,ASP.Net,Silverlight

Uz šādu e-grāmatas var lejupielādēt no Microsoft Press vietne.

  • Ieviešot Microsoft LINQ
    Paolo Pialorsi un Marco Russo
  • Ieviešot Microsoft ASP.NET AJAX
    ar Dino Esposito
  • Ieviešot Microsoft Silverlight 1.0
    ko Laurence Moroney

    http://csna01.libredigital.com

    Ieiet lapā, izmantojot savu pasi / Hotmail ID, un ielādētu e-grāmatas bez maksas.

Bils Geitss Pēdējā diena Microsoft

Bill Gates devis galīgo pamattonis CES(Patērētāju Electronic Show) pēdējā vegas.

you can find his full keynote in Microsoft CES

Satura apstiprinājuma darbplūsmu, kas MOSS 2007

In MOSS 2007 Apstiprinājuma darbplūsma ir pieejama ārā no iepakojuma pašai. Tikai mums ir jākonfigurē tikai dažus soļus, tad mēs esam gatavi ar apstiprināšanas procesu.

Ja apstiprinājuma darbplūsma ir konfigurēta dokuments būs redzama tikai uz iemaksu un apstiprinātājam.

Pasākumus, lai konfigurēšana satura apstiprinājuma darbplūsmu

Atveriet dokumentu bibliotēku
Noklikšķiniet Settings -> Dokumentu bibliotēkas iestatījumi


Jo Dokumentu bibliotēkas iestatījumi Sadaļā Atļaujas un pārvaldība noklikšķiniet uz Darbplūsmas iestatījumi

Dokumentu bibliotēkas iestatījumi -> [Atļauja un vadība] Darbplūsmas pārvaldīšana

In MOSS 2007 tas ir dažas iebūvētām darbplūsmas veidnes šādiem darbplūsmām

  • Piekrišana
  • Savākt Atsauksmes
  • Parakstu apkopošana
  • Izvietojuma apstiprinājuma
  • Trīs valsts

Tagad izvēlieties apstiprināšanas darbplūsmu un dot unikālu darbplūsmas nosaukumu instancē.
Izvēlieties esošu uzdevumu saraksta nosaukums vai izveidot jaunu uzdevumu sarakstu šī apstiprināšanas darbplūsmā.
Izvēlieties esošā vēsture vai izveidot jaunas darbplūsmas vēsturi saglabātu šīs darbplūsmas vēsturi.
Sadaļā Sākt opcijas var norādīt, kā šo darbplūsmu var sākt.

· Atļaut šo darbplūsmu manuāli startēt autentificētam lietotājam ar rediģēt vienumus Atļaujas
· Sākt šo darbplūsmu, kad vienums tiek izveidots
· Sākt šo darbplūsmu, kad vienums tiek mainīts

Ja jūs izvēlaties "sākt šo darbplūsmu, kad vienums tiek izveidots" tas automātiski sāk darbplūsmu, kad jauna pozīcija tiek pievienots dokumentu bibliotēkā.

Ja jūs izvēlaties "sākt šo darbplūsmu, kad vienums tiek mainīts" tas automātiski restartē darbplūsmu, kad dokumentu bibliotēkā preces tiek mainīta.

Saskaņā darbplūsmas uzdevums
Ja jūs izvēlaties Piešķirt uzdevums ir "All Dalībniekam Vienlaikus" Tas radīs uzdevums visiem dalībniekiem, tajā pašā laikā. Darbplūsmas tiks pabeigts tikai pēc apstiprināšanas visu apstiprinātājiem.

Ja jūs izvēlaties Piešķirt uzdevums ir "viens dalībnieks laikā" Tas būs sekot secību darbības 1. darbplūsmas uzdevums tiks izveidota uz pirmo lietotājam un kad tās apstiprina tikai tad tas būs pāriet uz nākamo apstiprinātājam.

Ja tas ir nepieciešams, jūs varat iestatīt izpildes datumu darbplūsmas.
Darbplūsmas statusu arī var tikt paziņots, izņemot no darbplūsmas dalībniekiem, dodot vārdu informē cita kolonna.

Mēs radām darbplūsmu satura apstiprināšanai. Tāpēc neaizmirstiet pārbaudīt opciju "Update apstiprinājuma statusu (izmantot šo darbplūsmu, lai kontrolētu satura apstiprināšanu)"

Tagad jūs veiksmīgi izveidots apstiprināšanas darbplūsmu.

Jums ir, lai satura apstiprinājumu dokumentu bibliotēkā tikai tad tas būs ierobežo citiem lietotājiem piekļūt.

Iespējojot satura apstiprināšanu dokuments būs redzams tikai iemaksu / autors un apstiprinātājs, tas nebūs redzams citiem lietotājiem dokumentu bibliotēkā.

Atvērto Uzstādījumi -> Dokumentu bibliotēkas iestatījumi
Sadaļā Vispārīgie iestatījumi -> Versiju iestatījumi
Pieprasīt satura apstiprināšanu Iesniedzis Items? Izvēlies Jā
Un noklikšķiniet uz Labi, lai saglabātu iestatījumus.

Tagad atveriet dokumentu bibliotēku un augšupielādēt dokumentu

Tagad dokuments ir augšupielādēts dokumentu bibliotēkā

Ja jūs pieteikšanās, izmantojot kādu citu lietotāju credential (nav apstiprinātājs / atbalstītāju). Dokuments tiks parādīti dokumentu bibliotēkā.

Ja jums liekas, šis amats palīdz jums izveidot darbplūsmu satura apstiprināšanai. Lūdzu atstājiet jūsu vērtīgajiem komentāriem.