How to Send an EMail From WebPart in MOSS 2007

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

z uporabo sistema;
uporabo 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;
uporabo 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, false, false, txtTo.Text, “Test Email”, “Text Body Message”);
_web.Dispose();
_site.Dispose();
}
}
}

Create the WebPart and register it as SafeControl

MOSS 2007 Cene & Obračunavanje stroškov Info

I have consolidated few links from Microsoft for MOSS 2007 Product Costing.

Microsoft Office SharePoint Server 2007 and Related Technologies pricing

Microsoft Office SharePoint Server 2007 products comparison download

2007 Microsoft Office system pricing and upgrade information

Kako Skrij hitri zagon v mah 2007

Ali želite skriti svojo hitro Bar izstrelitve v mah 2007
Obstajata dva načina za hitro skrije vrstico izstrelitve
1. Lahko neposredno urejati v CSS
2. Dodajanje Skrito vsebine urednik webpart

Dodaj novo webpart vsebine editor
Kliknite Vir urednik v ToolPane
prilepite spodnjo kodo v vsebino urednik webpart
[Slog]
.ms-QuickLaunch
{
prikaz:none;
}
.ms-navframe
{
prikaz: none;
}
[/Slog]
Uporaba “<" & ">” namesto “[” & “]”
Nastavite Skrito lastnino na True v oddelku postavitve v ToolPane.
Zdaj Osvežite stran……You Quick Launch Bar is Gone 🙂

Presenter pri oblikovanju prihodnosti delavnice

I presented the Demo on Architecting distributed applications using Grid Architecture in Accenture Shaping the Future workshop. To je moja druga predstavitev v Accenture je oblikovanje prihodnosti.

Kako Force MOSS 2007 Timer Jobs se Execute

Uporabite naslednji ukaz stadm na silo timer delovnih mest, delovna mesta za izvršitev.
ni treba čakati na interval za izvedbo timerjobs.
stsadm.exe-o execadmsvcjobs

MOSS 2007 Preimenovanje Web Application Name

I want to share how to rename the web application name in command line administration of MOSS 2007 using STSADM Command.

Skladnja:
stsadm -o renameweb -url -newname

Primer:
Stsadm -o renameweb -url http://localhost/oldname -newname newname

The above command will rename the web application from oldname to the newname.

Commerce Server 2007 Integracija z mahom 2007

MOSS ima številne vgrajene funkcije. Obseg te POC je vključiti Commerce Server 2007 z MOSS 2007 zagotoviti Portal integriranega e-Commerce Application

Konfiguriranje MOSS 2007 Uporaba ponudnika za članstvo Commerce Server kot podlaga za avtentikacijo uporabnikov

Primarne naloge so, da bi centralne uprave in portali, tresenje rok z Commerce Server. To je treba storiti s spremembo ustrezne Web.config datotek na teh območjih. Z dodajanjem Commerce Server in httpModules oddelke, stran SharePoint Central Administration and stran Portal bo sposobna ustvariti potrebne CommerceContext predmet. CommerceContext objekt omogoča Provider članstvo Commerce Server za pravilno inicializiran, in prav tako omogoča spletnih dele in strani na portalu uporabljati CommerceContext predmet za dostop do virov Commerce Server kot katalogu izdelkov.
Ponudnik UpmMembership razširja okvir članstvo ga ASP.Net je ponudil, da sprejme uporabo komand ASP.Net Login in avtentikacijo Commerce profile strežnikov.

Posodobite Web.config za MOSS centralne uprave in v Portal mestu s spodnjih oddelkov, da bi izkoristili podatke in storitve Commerce Server v MOSS

  • Commerce Oddelek Group Server
  • Commerce Group Server
  • Http Moduli
  • Sklopi
  • Ponudnik članstvo
  • Profil Oddelek

o Ugotovite, kateri Web.config datoteka se uporablja za spletne strani SharePoint Central Administration in ki se uporablja za spletno stran portala. Uporabite jeziček Home Directory v IIS Manager za določitev ustreznega pot do datoteke Web.config za vsako spletno stran.

o Uporabite datoteko Web.config, ki je bil prej ustvarili za Commerce Server C SharpSite kot vir za besedilo kopirati v naslednjih navodilih:

Prosimo, sledite spodnjim korakom, da spremenite datoteko web.config za SharePoint uprave.

Korak 1: Dodajanje Commerce oddelek Group Server
Kopirajte Commerce [sectionGroup] v [configSections] in lepljenje po [System.Workflow.ComponentModel.WorkflowCompiler] oddelek skupina.
[Ime sectionGroup =”CommerceServer”]
[Ime oddelek =”Uporaba” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”preverjanje pristnosti” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”cevovodi” type =”Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”predpomnilnikov” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”MessageManager” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”Katalog” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”naročila” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”profili” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”contentSelection” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”commerceEvent” type =”Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Ime oddelek =”izrazi” type =”Microsoft.CommerceServer.Runtime.Configuration.CommerceExpressionSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[/sectionGroup]
Korak 2: Dodajanje Commerce Group Server
§ kopirati [CommerceServer] oddelek in ga prilepite po [SharePoint] oddelek, tik pred [system.web] oddelek.

[CommerceServer]
[Vloga sitename =”CDevSite” debugLevel =”Proizvodnja”/]
[cevovodi][/cevovodi]
[izrazi shema =”Automobile”/]
[predpomnilnikov]
[Ime cache =”Oglaševanje” type =”Oglaševanje” refreshInterval =”900″ retryInterval =”30″/]
[Ime cache =”Popusti” type =”Popusti” refreshInterval =”0″ retryInterval =”30″/]
[Ime cache =”ShippingManagerCache” type =”Dostava” loaderProgId =”Commerce.ShippingMethodCache” refreshInterval =”0″ retryInterval =”30″/]
[Ime cache =”PaymentMethodCache” type =”Plačilo”/]
[Ime cache =”OrdersConfigurationCache” type =”OrdersConfiguration”/]
[/predpomnilnikov]
[MessageManager]
[kulture privzeto =”en-US” basename =”CommerceMessageManager” Sklop =”CommerceMessageManager”]
[kultura id =”en-US”/]
[kultura id =”fr-fr”/]
[kultura id =”in JP”/]
[kultura id =”de-DE”/]
[/kulture]
[sredstva]
[id vir =”pur_badsku”/]
[id vir =”pur_badplacedprice”/]
[id vir =”pur_discount_changed”/]
[id vir =”pur_discount_removed”/]
[id vir =”pur_noitems”/]
[id vir =”pur_badshipping”/]
[id vir =”pur_badhandling”/]
[id vir =”pur_badtax”/]
[id vir =”pur_badcc”/]
[id vir =”pur_badpayment”/]
[id vir =”pur_badverify”/]
[id vir =”pur_out_of_stock”/]
[id vir =”unknown_shipping_method”/]
[/sredstva]
[/MessageManager]
[naročila honorStatus =”Res” newOrderStatus =”NewOrder” sqlCommandTimeoutSeconds =”60″ sqlLongRunningCommandTimeoutSeconds =”28800″]
[addressMap]
[Ime profileDefinition =”Naslov”/]
[premoženje iz =”GeneralInfo.address_id” na =”OrderAddressId”/]
[premoženje iz =”GeneralInfo.first_name” na =”FirstName”/]
[premoženje iz =”GeneralInfo.last_name” na =”Priimek”/]
[premoženje iz =”GeneralInfo.address_line1″ na =”Line1″/]
[premoženje iz =”GeneralInfo.address_line2″ na =”Line2″/]
[premoženje iz =”GeneralInfo.city” na =”Kraj”/]
[premoženje iz =”GeneralInfo.region_code” na =”RegionCode”/]
[premoženje iz =”GeneralInfo.postal_code” na =”PostalCode”/]
[premoženje iz =”GeneralInfo.country_name” na =”COUNTRYNAME”/]
[premoženje iz =”GeneralInfo.region_name” na =”Država”/]
[premoženje iz =”GeneralInfo.tel_number” na =”DaytimePhoneNumber”/]
[/addressMap]
[Vrste]
[Tip key =”Basket” UserTypeName =”Basket” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”PurchaseOrder” UserTypeName =”PurchaseOrder” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”Naročilo Template” UserTypeName =”Naročilo Template” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”Naročilnica” UserTypeName =”Naročilnica” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”Element vrstice” UserTypeName =”Element vrstice” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”Pošiljka” UserTypeName =”Pošiljka” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”Plačilo” UserTypeName =”Plačilo” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”CreditCardPayment” UserTypeName =”CreditCardPayment” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”GiftCertificatePayment” UserTypeName =”GiftCertificatePayment” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”PurchaseOrderPayment” UserTypeName =”PurchaseOrderPayment” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”CashCardPayment” UserTypeName =”CashCardPayment” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”Da Naslov” UserTypeName =”Da Naslov” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”DiscountApplicationRecord” UserTypeName =”DiscountApplicationRecord” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”ShippingDiscountRecord” UserTypeName =”ShippingDiscountRecord” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[Tip key =”PromoCodeRecord” UserTypeName =”PromoCodeRecord” Skupščina Type =”GAC” Imenski prostor =”Microsoft.CommerceServer.Runtime.Orders” Skupščina =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[/Vrste]
[Omejitve OrderFormsPerOrderGroup =”5″ PromoCodeRecordsPerOrderForm =”10″ PromoCodesPerOrderForm =”10″ LineItemsPerOrderForm =”40″ Da Predloga SPER User =”10″ PaymentsPerOrderForm =”10″ ShipmentsPerOrderForm =”40″ Košarica SPER Uporabnik =”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, kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″ Newtype =”Microsoft.CommerceServer.Runtime.Orders.LineItem, Microsoft.CommerceServer.Runtime,Version = 6.0.1.0, kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[/SerializationBindings]
[/naročila]
[commerceEvent]
[dodaj className =”Microsoft.CommerceServer.Runtime.AddItemToBasketEvent” id =”AddItemToBasket”/]
[dodaj className =”Microsoft.CommerceServer.Runtime.RemoveItemFromBasketEvent” id =”RemoveItemFromBasket”/]
[dodaj className =”Microsoft.CommerceServer.Runtime.SubmitOrderEvent” id =”SubmitOrder” loggingEnabled =”Res”/]
[/commerceEvent]
[/CommerceServer]
Korak 3: Dodajanje “CommerceApplication” v “httpModules” Oddelek
§ Kopirajte Commerce HTTP Modules do konca [httpModules] oddelek.
[dodajte ime =”CommerceApplication” type =”Microsoft.CommerceServer.Runtime.CommerceApplicationModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceAuthentication” type =”Microsoft.CommerceServer.Runtime.CommerceAuthenticationModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceOrder” type =”Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceCatalog” type =”Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceProfile” type =”Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceExpressionEvaluator” type =”Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceCache” type =”Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]
[dodajte ime =”CommerceContentSelection” type =”Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/][dodajte ime =”CommerceDataWarehouseAuthenticationModule” type =”Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″/]Odstranite ali zakomentirajte Commerce Server Avtentikacija Module. Ta modul ni potreben, ker ASP.NET Forms avtentikacija se bo uporabljal za vsa overjanja.
Korak 4: Dodajanje “Commerce Server” AssembliesCopy poslovanje strežnika informacije montažno iz CSharpSite web.config in ga prilepite v [sklopi] tag v web.config upravi spletne strani centralne kot spodaj:
[sklopi]
[dodaj sklop =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″ /]
[dodaj sklop =”Microsoft.CommerceServer.Catalog, Version = 6.0.1.0, Kultura = nevtralna, PublicKeyToken = 31bf3856ad364e35″ /][/sklopi]

Korak 5: Konfigurirati Centralna uprava priznati Commerce Server Članstvo
Kopirajte spodnji odrezek kode na [system.web] razdelek datoteke Web.config za centralni upravi. Opozorilo: Prilepite pred zaprtjem [/system.web].
[Članstvo defaultProvider =”UpmMembershipProvider”]
[Izvajalci]
[jasno /]
[dodaj ApplicationName =”CSharpSite ”
enablePasswordRetrieval =”false”
enablePasswordReset =”Res”
requiresQuestionAndAnswer =”Res”
RequiresUniqueEmail =”Res”
enableCreateDate =”Res”
enableEmailAddress =”Res”
enableLastLoginDate =”Res”
profil opredelitev =”UserObject”
passwordFormat =”Zgoščen”
name =”UpmMembershipProvider”
type =”Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider”/]
[/Izvajalci]
[/Članstvo]

Korak 6: Konfiguracija razdelek Profili Commerce Server

To poglavje vsebuje nastavitve, ki konfiguracijo funkcionalnost profilov in kataloga sklopov. The [userprofile] vozlišče prebiva v [CommerceServer][profili] vozlišče v web.config.
Odkomentirate poglavje profile [CommerceServer] vozlišče.

[userprofile
profil opredelitev =”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 =”Organizacija”
organizationIdProperty =”GeneralInfo.org_id”
catalogSetIdProperty =”GeneralInfo.org_catalog_set”
/]

Korak 7: Dodajanje uporabnikov v Central AdministrationLocate centralne uprave, Upravljanje aplikacij, Ponudniki za preverjanje pristnosti, Vnos privzeto cona. Prepričajte se, da imate Portalseite Spletna aplikacija izbrana v spustnem seznamu.

o Kliknite Obrazci.

o Spremenite ime ponudnika Članstvo v UpmMembershipProvider. Ta se mora ujemati z imenom, ki je v oddelku članstvo v Web.config file.Locate centralne uprave, Upravljanje aplikacij, in politika za spletne aplikacije. Prepričajte se, da ste izbrali Portal Web Application.

o Kliknite Dodaj uporabnikov.

o Izberite Privzeti pas, in nato kliknite Next.

o Vnesite e-poštni naslov uporabnika, ki ste jih prej dodali s pomočjo Commerce Server službo in naročil Manager, in nato Preverite Uporabnik.

o Če je uporabniško ime uspešno priznana, da bo poudarjena. Izberite Popoln nadzor, in nato izberite Končaj.

o Če je uporabniško ime ne pripozna, zaženite SQL Server sled o bazi podatkov Commerce Profili Server se prepričajte, da se poizvedbe se izvajajo v bazi. Poleg tega, poskrbite, da je vnos za ponudnika v datoteki Web.config za Srednjo upravo, in iskati napake v dnevniku dogodkov.

Korak 8: Prekopirajte naslednje datoteke XML iz CSharpSite (IIS Virtual Directory) v korenski mapi mestu Central Administration:

OrderObjectMappings.xml
OrderPipelineMappings.xml

Run Centralna uprava zagotoviti, da so te spremembe je pravilno. Če pride do napake, preverite datoteko Web.config za sintakso issues.Even če je stran pravilno prikaže, preverite dnevnik dogodkov. Nekatere napake Dovoljenja se lahko skrije.

Konfigurirate portal MOSS uporabljati ponudnik Commerce Server članstvo:
Korak 1: Sledite zgoraj 6 korakov za konfiguracijo portala za Commerce Server.

Korak 2: Komentar iz obstoječih [preverjanje pristnosti], [identiteta], in [Dovoljenje] oddelki. To bo onemogočite privzeto Windows avtentikacijo in avtorizacijo.

Korak 3: Kopirajte spodaj vsebino konfiguracijske nastavitve v datoteko Web.config za spletno stran portala. Prilepi to po prejšnjih poglavjih, ki ste jo pravkar zakomentirane. Ta določa mesto za vse oblike preverjanja pristnosti, in zanika, anonimni dostop.

[način preverjanja pristnosti =”Obrazci”]
[Obrazci loginUrl =”/_layouts / login.aspx” name =”.ASPXFORMSAUTH” /]
[/preverjanje pristnosti]
[Dovoljenje]
[zanikati uporabniki =”?” /][/Dovoljenje] Oglejte si spletno stran Portal v spletnem brskalniku. Morate biti preusmerjeni na stran za prijavo. Prijavite in uporabljate poverilnice uporabnikov, ki ste jih dodali s pomočjo stranke in naročil Manager.

Korak 4: Prekopirajte naslednje datoteke XML iz CSharpSite (IIS Virtual Directory) v korensko mapo spletnega mesta portala:

OrderObjectMappings.xml
OrderPipelineMappings.xml

Korak 5: Zaženite IIS

Korak 6: Teči stran Portal in iskati napake.

[Opozorilo : Nisem mogel Post skripte tag tukaj nadomešča vse “[” & “]” s “<" & ">“

Prosti Microsoft Press E-knjige Ponudba za LINQ,ASP.Net,Silverlight

Na e-knjige lahko prenesete s spletnega mesta Microsoft Press.

  • Predstavljamo Microsoft LINQ
    Paolo Pialorsi in Marco Russo
  • Predstavljamo Microsoft ASP.NET AJAX
    z Dino Esposito
  • Predstavljamo Microsoft Silverlight 1.0
    z Laurence Moroney

    http://csna01.libredigital.com

    Prijava v spletno mesto z uporabo svoj potni list / hotmail id in prenosov e-knjige brezplačno.

Bill Gates Last Day at Microsoft

Bill Gates je svojo zadnjo Keynote na CES(Consumer Electronic Prikaži) V zadnjem Vegasu.

boste našli v celoti, v Keynote Microsoft CES

Vsebina potek dela odobritve v mah 2007

V MOSS 2007 Approval workflow is available in out of the box itself. Just we need to configure only few steps then we are ready with the approval process.

If the approval workflow is configured the document will be visible only to the contributor and to the approver.

Steps to Configure Content approval workflow

Open the Document Library
Click Settings -&gt; Document Library Settings


In Document Library Settings under Permissions and Management Click Workflow Settings

Document Library Settings -&gt; [Permission and Management] Workflow Managements

V MOSS 2007 it has some prebuilt workflow templates for the following workflows

  • Approval
  • Collect Feedback
  • Collect Signatures
  • Disposition Approval
  • Three State

Now Select the Approval Workflow and give the unique name for the workflow instance.
Select the Existing Task List Name or create new Task List for this approval workflow.
Select the Existing History or create new workflow history to maintain this workflow history.
Under Start options you can specify how this workflow can be started.

· Allow this workflow to be manually started by an authenticated user with Edit Items Permissions
· Start this workflow when an item is created
· Start this workflow when an item is changed

If you choose “start this workflow when an item is created” it will automatically starts workflow when new item is added to the document library.

If you choose “start this workflow when an item is changed” it will automatically restarts the workflow when the items in the document library is modified.

Under workflow task
If you choose Assign Task to “All Participant Simultaneously” It will create the task for all participants at the same time. The workflow will be completed only after the approval of all approvers.

If you choose Assign Task to “One Participant at a time” It will follow the sequence of activity first the workflow task will be created to the first user and once its approved then only it will move on to the next approver.

If it’s required you can set the due date for the workflow.
The workflow status also can be notified other than the participants of the workflow by giving the name on notify others column.

We are creating the workflow for Content Approval. So don’t forget the check the option “Update the approval status (use this workflow to control content approval)"

Now you successfully created approval workflow.

You have to enable the content approval in the document library then only it will restrict other users to access it.

When you enable content approval the document will be visible only to contributor/author and approver, it will not be visible to other users in document library.

Open Settings -&gt; Document Library Settings
Under General Settings -&gt; Versioning Settings
Require Content Approval for Submitted Items? Choose Yes
And Click OK to Save the Settings.

Now Open the Document Library and upload the Document

Now the document is uploaded the Document Library

If you login using some other user credential (not an approver/contributor). The document will be displayed in the document library.

Če se vam zdi ta post vam pomaga ustvariti potek dela za odobritev vsebino. Prosim, pustite vaše dragocene komentarje.