SharePoint ఫీచర్స్ & సొల్యూషన్స్ మేనేజ్మెంట్ — CRUD లో U మర్చిపోవద్దు (లేదా ఆ విషయం కొరకు D)

మేము సమిష్టిగా SharePoint పరిష్కారాలు గురించి సమయం ఆలోచన యొక్క ఒక గొప్ప ఒప్పందానికి ఖర్చు — ఎలా వాటిని సృష్టించడానికి, ఇది సాధనం ఉపయోగించడానికి, వారు అమర్చే విఫలం ఉన్నప్పుడు ఏమి జరుగుతుంది, టైమర్ ఉద్యోగాలు, దర్శినిలను, మొదలైనవి. We spend so much time thinking about the up-front bits that it’s easy to forget that we need to retract them as well. Retracting solutions is probably more difficult, ఒక సంభావిత రూపకల్పనను కోణం నుండి, than deploying them. Deployment is basically a cookbook affair. Typically, ఒక ఫీచర్ ఇన్స్టాల్, బహుశా ఒక ఫీచర్ రిసీవర్ ఒక జాబితాలో కొన్ని డేటా లోడ్ చేశారు, that sort of thing. అయితే, ముడుచుకునే సమర్థవంతంగా మరింత క్లిష్టంగా ఉంటుంది.

ఇవ్వబడిన పరిష్కారం ఇటువంటి కళాఖండాలు సృష్టించవచ్చు:

  • కంటెంట్ రకం
  • జాబితా శతకము
  • సైట్ శతకము
  • ఒక జాబితాలో డేటా
  • కూడా రిసీవర్లు
  • InfoPath రూపాలు

జాబితాలో వెళ్తాడు.

అది సరిగ్గా ఆ కళాఖండాలు instantiates ఒక పరిష్కారం రూపొందించడానికి ఖచ్చితంగా ముఖ్యమైన ఉన్నప్పటికీ, it’s just as important to consider the update and delete cases. If your solution creates a new list and populates that list with data, what happens when the solution is retracted? In some cases, the list should be deleted. In other cases, it should be left intact for historical purposes. Your business requirements will guide you to the right decision.

To help with this, create a matrix that lists each artifact your solution deploys to SharePoint. List three columns per artifact, one for create, update and delete. For each case, determine the correct outcome for that operation.

This sort of analysis is obviously best done before the solution is ever deployed to a SharePoint farm. అయితే, like smoking, it’s never too late to start doing things correctly. Create that matrix and develop a plan to address the missing update/delete scenarios. It may be a hard problem to solve, but at least you’ll have put a box around the problem.

</చివర>

నా బ్లాగ్ సబ్స్క్రయిబ్.

వద్ద ట్విట్టర్ లో నన్ను అనుసరించండి http://www.twitter.com/pagalvin

Technorati టాగ్లు:

2 "న ఆలోచనలుSharePoint ఫీచర్స్ & సొల్యూషన్స్ మేనేజ్మెంట్ — CRUD లో U మర్చిపోవద్దు (లేదా ఆ విషయం కొరకు D)

  1. John Bender

    @no name

    That’s what the Feature Receiver class is for. You write custom code to handle what ever you want within the Object Model in override methods within your custom Feature Reciever. See the MSDN article ఇక్కడ.

    Hope that helps 🙂

    @ పాల్

    I’m linking this article in this months SharePoint user group presentation because, as was discussed at this months SPUG, this is really a central issue to creating robust SharePoint features.

    -john bender

    nickelcode.com (బ్లాగ్)

  2. మైక్ Birtwistle
    When I started developing solutions and features I did look for a setting somewhere in the definition that defines what happens on deletion or update. It left me wondering if there should be a few built in behaviours to a WSP – or a swtich on stsadm – that do some of the common tasks you mentioned above such as on deleting a solution – remove everything or leave everything and on updating – తొలగించి స్థానంలో లేదా కేవలం నిర్వచనం అప్డేట్ ఆపై ఒక ఫీచర్ రిసీవర్ ఒక కస్టమ్ చర్య చేయడం ఎంపిక.

ఒక Reply వదిలి మైక్ Birtwistle ప్రత్యుత్తరం రద్దు

మీ ఇమెయిల్ చిరునామా ప్రచురితమైన కాదు. లు గుర్తించబడతాయి *