மாதாந்திற ஆவண தொகுப்பு காப்பகம்: நவம்பர் 2007

பாசி என் வரிசை பெயர் பாதுகாக்கப்பட்டவை அல்லது பயன்பாட்டில் சொல்லும் … ஆனால் இது தான்

புதுப்பிப்பு 12/04/07: பார் இந்த மைக்ரோசாப்ட் KB (http://support.microsoft.com/kb/923589) தொடர்புடைய தகவல்.

உண்மையில், அது தான் மாறிவிடும், ஆனாலும் குறும்புத்தனமான பாசி கடினமாகிறது இருந்தது.

My customer does some development work on his MOSS site over the weekend. It’s a bit of a jumble as to what he actually did, ஆனால் இறுதி விளைவாக இந்த:

  • He tries to add a site column called "Quantity" மற்றும் பாசி பதில்கள்: "The column name that you entered is already in use or reserved. Choose another name."
  • He attempts to add it to another environment and that works. ஆகையால், "Quantity" ஒதுக்கப்பட்ட பெயர் அல்ல.
  • He tries to find an existing site column named "Quantity" in that site collection. He cannot find it.

நான் சில செய்தார் ஆராய்ச்சி, and even some coding, தத்துவ மழித்தெடுத்து இறுதியாக அளவு என்ற பத்தியில் என்று கண்டுபிடிக்கப்பட்டது, உண்மையில், exist. It was in the "_Hidden" group. Hence, நாம் ஷேர்பாயிண்ட் பயனர் இடைமுகம் வழியாக அதை கண்டுபிடிக்க முடியவில்லை.

அது எப்படி அங்கு வந்தது? I do not know, ஆனால் நான் ஒரு கோட்பாடு இல்லை (அல்லது என் மனைவி அதை அழைக்க வேண்டும் என, "blah blah blah"). எங்காவது வரி சேர்த்து, ஒரு அற்புதமான நாற்பது டெம்ப்ளேட் was added and probably activated at a site in the site collection. It was then deactivated (அல்லது தளம் நீக்கப்பட்டது). The site column, இருப்பினும், remained but in the "_Hidden" group. If someone knows better, என்னை வழியாக தெரியப்படுத்துங்கள் மின்னஞ்சல் அல்லது கருத்துக்களை பதிவு.

SharePoint was telling the truth. It’s hardly worth pointing out that that message is not as helpful as it could be. It would be nice to see that message fork into two different messages in the future: 1) நிரலை பெயர் ஒதுக்கப்பட்டுள்ளது என்று அல்லது இல்லையா. 2) இது முன்பதிவு செய்யவில்லை என்றால்,, தளத்தில் காண்பிக்க, அல்லது குறைந்த பட்சம் குழு, நிரலை பெயர் ஏற்கனவே பயன்படுத்தப்பட்டது அமைந்துள்ள.

</இறுதியில்>

OM விருப்ப பட்டியல் வழியாக தற்போது தகவல்கள் (அல்லது, மற்றொரு OM தரவு Displayor [yacc போன்ற, ஆனால் வேறு])

இன்று, I spent a handful of hours tracking down the root cause behind the message "The column name that you entered is already in use or reserved. Choose another name."

கேள்வி நிரலை உருவாக்கப்பட்டது, மற்றொரு சூழலில் நீக்கப்பட்டதை மீண்டும் உருவாக்கப்பட்டது, so I knew it wasn’t a reserved name. எனினும், நான் வெறுமனே தளம் சேகரிப்பு எந்த இடத்தில் தரமான ஷேர்பாயிண்ட் பயனர் இடைமுகம் வழியாக எங்கும் நிரலை கண்டுபிடிக்க முடியவில்லை.

நான் posted இங்கே எம்எஸ்டிஎன் கருத்துக்களம் மற்றும் வெல்லமுடியாத ஆண்ட்ரூ ஊட்டர்ட் அடிப்படை பொருள் மாதிரி தரவு திசையில் எனக்கு சுட்டிக்காட்டினார்.

நான் சென்றுவிட்டோம் codeplex எனக்கு உதவும் என்று சில கருவிகள் அடிப்படை OM தரவில் பெருமகனார் கண்டுபிடித்து உதவ என்னை சிக்கலில் கண்டுபிடிக்க.

நான் பல கருவிகள் முயற்சி மற்றும் அவர்கள் மிகவும் குளிர்ந்த மற்றும் சுவாரஸ்யமான ஆனால் இறுதியில், the UI wasn’t good enough for my purpose. I’m not criticizing them by any means, அவர்கள் UI உருவாக்கப்பட்ட போது ஆனால் தெளிவாக கருவி செய்பவர்களை மனதில் என் பிரச்சனை இல்லை :). Most people seem to be investing a fair amount of time and effort in creating workstation / மரம் காட்சிகள் வழங்கும் வாடிக்கையாளர் பயன்பாடுகள், right-click context menus and so forth. These are nice and all, ஆனால் இது மிகவும் நெகிழ்வான ஒரு மேல் ஒரு-the-வரி பயனர் அனுபவத்தை நிறைய வேலை இருக்கிறது.

நான் உண்மையில் இந்த பிரச்சினைக்கு ஒரு பதில் தேவை. அது எனக்கு ஏற்பட்டது என்று நான் விருப்ப பட்டியலில் தளம் சேகரிப்பில் தளத்தில் பத்திகள் அனைத்து பெற முடியும் என்றால், நான் வடிகட்ட முடியவில்லை, எனக்கு இந்த கூறப்படும் இருக்கும் நிரலை கண்டுபிடிக்க உதவும் என்று காட்சிகள் வரிசைப்படுத்த மற்றும் உருவாக்க (அது இது, BTW). I went ahead and did that and an hour or two later, என் தளத்தில் பத்திகள் குழுக்கள் ஒரு விருப்ப பட்டியல் ஏற்றப்பட்டன, sorting and so forth. I found my answer five minutes later.

நான் வெற்றிகரமாக உலகம் முழுவதும் எடுத்தால் போது, I think I will decree that all SharePoint tools providers must seriously consider surfacing their object model data in a custom list. That way, நான் அதிகாரம் எனக்கு எந்த வழியில் தேட (இறுக்கம், நிச்சயமாக, தரமான ஷேர்பாயிண்ட் அம்சங்கள் மூலம்).

ஷேர்பாயிண்ட் டிசைனர் பணியோட்ட வழக்கமான அதிரடி — பற்றி கவனிப்பு <துறையில் கூட்டு வடிவமைப்புகள் வகை =”StringBuilder” … />

இந்த இரண்டு வரையறைகள் இடையே ஒரு முக்கியமான வேறுபாடு இருக்கிறது என்று ஒரு விரைவு கவனிப்பு:

<FieldBind Field="InParam1" DesignerType="StringBuilder" Id="2" Text="Input parameter #1"/>

எதிர் நிலையில்:

<FieldBind Field="InParam1" Id="2" Text="Input parameter #1"/>

சமூக ஜனநாயக கட்சி இப்படி முதல் நிகழ்ச்சிகள்:

படம்

பின்னர் இந்த காட்டுகிறது:

படம்

I’m not sure how helpful these screen shots are but I put in the effort to make them so you have to view them 🙂

கவனிப்பு இந்த: StringBuilder நீங்கள் ஒரு சரம் கட்ட அனுமதிக்கும் (வெளிப்படையாக) சரம் literals மற்றும் பணிப்பாய்வு தரவு ஒன்றாக கலந்து (via the "Add Lookup" கீழ் இடது கை மூலையில் உள்ள பொத்தானை). When you use the Add Lookup button, it inserts a token in the form "[%டோக்கன்%]". When SharePoint invokes your custom action, (என் விஷயத்தில் சி # குறியீடு), ஷேர்பாயிண்ட் டோக்கன் தன்னை தானே, not the value of the token. If you use the default designer type (இரண்டாவது வகை), ஷேர்பாயிண்ட் டோக்கன் விரிவடைகிறது உங்கள் நடவடிக்கை டோக்கன் உண்மையான மதிப்பு மரணம்.

StringBuilder = BAD, இயல்புநிலை வடிவமைப்பாளர் வகை = GOOD.

நிச்சயமாக, that’s not what I really mean. Just don’t try and pass a parameter to your custom action when the designer type = StringBuilder. Use the default designer type and chain a StringBuilder to it up front if you need to build complex strings in your workflow (இது தற்செயலாக ஒரு மின்னஞ்சல் நடவடிக்கை ஒரு சுறுசுறுப்பான பொருள் உருவாக்க செய்கிறது சரியாக என்ன, ஆனால் மற்றொரு வலைப்பதிவு உள்ளீடு ஒரு பொருள் இருக்கிறது, உள்ளது).

<இறுதியில் />

முன்கூட்டிய பணியோட்ட செயல்படுத்தல் — ஒரு அல்லாத மருத்துவ தீர்வு

புதுப்பிப்பு: இந்த எம்எஸ்டிஎன் விவாதம் பார்க்க, குறிப்பாக கடந்த நுழைவு: http://forums.microsoft.com/MSDN/showpost.aspx?postid=2631057&siteid=1. It describes a condition that may short circuit this whole thing. In short, கட்டாய துறைகள் குறைந்தது ஒரு வகையில் இது போன்ற எளிய இருக்கலாம்.

நான் எட்டு உள்ளடக்க வகைகளை ஆதரிக்கிறது என்று ஒரு ஆவணத்தை நூலகம் வேண்டும்.

I have a SharePoint Designer workflow that wants to calculate and assign a "reminder date" வெறுமனே கழிப்பதன் மூலம் 30 மற்றொரு கட்டுரையில் இருந்து நாட்கள், "due date". This should only happen for one of the content types, "Insurance". The business objective is to produce a KPI that shows two categories of insurance documents: "about to expire" and "expired." (நீங்கள் KPI மற்றும் இந்த வகையான பற்றி இன்னும் கணிசமான துளை கீழே படிக்க முடியும் இங்கே).

I have configured the workflow to fire when a new item is created and when an item is modified. The idea is that when an insurance document is uploaded, we calculate a "warning date" based on the expiration date. A pair of views work in connection with a KPI List to highlight these conditions when users hit their home page.

இந்த உத்தி நான் ஒரு ஆவணத்தை பதிவேற்ற போது வேலை இல்லை.

I upload the document and I am presented with the meta data entry screen. இந்த கட்டத்தில், I’m already in trouble. SharePoint has already, முன்னர் என் கண்ணோட்டத்தில், fired the workflow. I haven’t had a chance to pick the correct content type nor assign a due date. அதே சமயம், the workflow does not fire when I hit the submit button at this time. There’s some built-in logic that "believes" that first submit is part of the "create" event. அப்படி … அதை செயல்படுத்த போது என் பணிப்பாய்வு துப்பாக்கி மற்றும், it was passed default meta data values.

The best work-around I know of is to insert a "pause until" activity in the workflow. I have the workflow pause for 1 minute. While it’s pausing, நான் சரியான உள்ளடக்கம் வகை தேர்வு, enter the meta data and submit. The pause completes and the workflow proceeds as needed. (என் சூழலில் அந்த குறிப்பு, timer workflow activities from SPD do not work out of the box. You may have the same trouble. பார் இங்கே மேலும் விவரங்களுக்கு).

I don’t like "magic delay" work-around. What happens if the user uploads a document and the phone rings and the ensuing conversation outlasts the pause? I can make the pause longer, ஆனால் நான் இன்னும் அது பிடிக்காது.

நான் இங்கே எம்எஸ்டிஎன் மன்றங்கள் இந்த பற்றி எழுதியது: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2430725&SiteID=1

ஷேர்பாயிண்ட் பாதுகாப்பு முதல் அடிப்படைகள் / பொதுவான சிக்கல்களை தவிர்ப்பதற்கான

புதுப்பிப்பு 12/18/07: இயல்புநிலை குழு பெயர்களை நீக்குவது அல்லது மாற்றும் சில தொழில்நுட்ப விளைவுகளுக்கு பால் Liebrand கட்டுரை பார்க்க (கீழே அதே தனது கருத்தை பார்க்க).

கண்ணோட்டம்:

SharePoint security is easy to configure and manage. எனினும், it has proven to be difficult for some first-time administrators to really wrap their hands around it. Not only that, I have seen some administrators come to a perfect understanding on Monday only to have lost it by Friday because they didn’t have to do any configuration in the intervening time. (நான் இந்த பிரச்சினையை நானே செய்ய ஒப்பு). This blog entry hopefully provides a useful SharePoint security primer and points towards some security configuration best practices.

முக்கிய குறிப்பு:

This description is based on out of the box SharePoint security. My personal experience is oriented around MOSS so there may be some MOSS specific stuff here, but I believe it’s accurate for WSS. I hope that anyone seeing any errors or omissions will point that out in comments or என்னை மின்னஞ்சல். I’ll make corrections post haste.

அடிப்படைகளை:

இந்த கண்ணோட்டத்தை நோக்கங்களுக்காக, பாதுகாப்பு நான்கு அடிப்படை அம்சங்கள் உள்ளன: பயனர் / குழு, securable பொருள்கள், அனுமதி நிலைகள் மற்றும் பரம்பரை.

பயனர்கள் மற்றும் குழுக்கள் கீழே உடைக்க:

  • தனிப்பட்ட பயனர்கள்: செயலில் அடைவு இருந்து இழுத்து அல்லது நேரடியாக ஷேர்பாயிண்ட் ல் உருவாக்கப்பட்டது.
  • குழுக்கள்: Mapped directly from active directory or created in SharePoint. Groups are a collection of users. Groups are global in a site collection. They are never "tied" ஒரு குறிப்பிட்ட securable பொருளை.

Securable பொருள்கள் குறைந்தது கீழே உடைக்க:

  • தளங்கள்
  • ஆவண நூலகங்கள்
  • பட்டியல்கள் மற்றும் ஆவணம் நூலகங்களில் தனிப்பட்ட உருப்படிகள்
  • கோப்புறைகள்
  • பல்வேறு BDC அமைப்புகள்.

அங்கு மற்ற securable பொருள்கள், ஆனால் நீங்கள் படம் கிடைக்கும்.

அனுமதி அளவுகளை: சிறுமணி ஒரு மூட்டை / low level access rights that include such things as create/read/delete entries in lists.

உரிமை (யாட்சி) பொருள்: By default entities inherit security settings from their containing object. Sub-sites inherit permission from their parent. Document libraries inherit from their site. So on and so forth.

பயனர்கள் மற்றும் குழுக்கள் அனுமதி நிலைகள் மற்றும் பரம்பரை வழியாக securable பொருட்களை தொடர்புபடுத்த.

புரிந்து கொள்ள மிக முக்கியமான பாதுகாப்பு விதிகள், Ever 🙂 :

  1. குழுக்கள் வெறுமனே செய்த தொகுப்புகள் உள்ளன.
  2. குழுக்கள் ஒரு தளம் சேகரிப்பு உள்ள உலக உள்ளன (அதாவது. ஒரு தளத்தில் அளவில் வரையறுக்கப்பட்ட ஒரு குழு போன்ற விஷயம் இல்லை).
  3. குழு பெயர் withstanding, குழுக்கள் இல்லை, தங்களை மற்றும் பல, have any particular level of security.
  4. Groups have security in the context of a specific securable object.
  5. நீங்கள் ஒவ்வொரு securable பொருள் அதே குழு வெவ்வேறு அனுமதி அளவுகளை ஒதுக்க கூடும்.
  6. வலை பயன்பாடு கொள்கைகள் துருப்பு இந்த அனைத்து (கீழே பார்க்கவும்).

குழு மற்றும் பயனர் பட்டியல்கள் ஒரு கடலில் இழந்து பாதுகாப்பு நிர்வாகிகள் எப்போதும் தமது பாதுகாப்பு கட்டமைப்பு மேலாண்மை மற்றும் புரிந்து கொள்ள இந்த தேற்றங்களிலிருந்து சார்ந்திருக்க முடியாது.

பொது பிட்பால்ஸ்:

  • குழு பெயர்களை தவறாக அனுமதி குறிப்பால்: பெட்டியை வெளியே, SharePoint defines a set of groups whose names imply an inherent level of security. Consider the group "Contributor". One unfamiliar with SharePoint security may well look at that name and assume that any member of that group can "contribute" to any site/list/library in the portal. That may be true but not because the group’s name happens to be "contributor". This is only true out of the box because the group has been provided a permission level that enables them to add/edit/delete content at the root site. Through inheritance, the "contributors" group may also add/edit/delete content at every sub-site. One can "break" the inheritance chain and change the permission level of a sub-site such that members of the so-called "Contributor" குழு அனைத்து பங்களிக்க முடியாது, ஆனால் வாசிக்க மட்டும் (எடுத்துக்காட்டாக). This would not be a good idea, வெளிப்படையாக, அது மிகவும் குழப்பமான இருக்கும் என்பதால்.
  • குழுக்கள் ஒரு தளம் மட்டத்தில் வரையறுக்கப்பட்ட. It’s easy to be confused by the user interface. Microsoft provides a convenient link to user/group management via every site’s "People and Groups" இணைப்பு. It’s easy to believe that when I’m at site "xyzzy" and I create a group through xyzzy’s People and Groups link that I’ve just created a group that only exists at xyzzy. That is not the case. I’ve actually created a group for the whole site collection.
  • குழுக்கள் உறுப்பினர் தளத்தில் வேறுபடும் இல்லை (அதாவது. அது எல்லா இடங்களிலும் குழு பயன்படுத்தப்படுகிறது அதே உள்ளது): Consider the group "Owner" மற்றும் இரண்டு தளங்கள், "HR" and "Logistics". It would be normal to think that two separate individuals would own those sites — an HR owner and a Logistics owner. The user interface makes it easy for a security administrator to mishandle this scenario. If I didn’t know better, நான் அலுவலக தளம் வழியாக மக்கள் மற்றும் குழுக்கள் இணைப்புகள் அணுக வேண்டும், select the "Owners" group and add my HR owner to that group. A month later, Logistics comes on line. I access People and Groups from the Logistics site, add pull up the "Owners" group. I see the HR owner there and remove her, thinking that I’m removing her from Owners at the Logistics site. உண்மையில், I’m removing her from the global Owners group. Hilarity ensues.
  • குறிப்பிட்ட பங்கு அடிப்படையில் குழுக்கள் பெயரை தவறியதற்காக: The "Approvers" group is a perfect example. What can members of this group approve? Where can they approve it? Do I really want people Logistics department to be able to approve HR documents? Of course not. Always name groups based on their role within the organization. This will reduce the risk that the group is assigned an inappropriate permission level for a particular securable object. Name groups based on their intended role. In the previous HR/Logistics scenario, நான் இரண்டு புதிய குழுக்கள் உருவாக்கப்பட்டது: "HR Owners" and "Logistics Owners" மற்றும் ஒவ்வொரு விவேகமான அனுமதி நிலைகள் மற்றும் அவர்களுடைய வேலையை செய்ய அந்த பயனர் தேவையான குறைந்தபட்ச தொகை ஒதுக்க.

மற்ற பயனுள்ள குறிப்புகள்:

நீங்கள் இந்த செய்துவிட்டேன் என்றால் இதுவரை:

Please let me know your thoughts via the comments or email me. If you know other good references, அதே செய்யுங்கள்!

Technorati குறிச்சொற்கள்:

விரைவான மற்றும் எளிதான: ஒரு தரவை வலை பகுதி உருவாக்க (DVWP)

WSS பெரிய தகவல்களை ஒரு சொத்து உள்ளது 3.0 தரவு பார்வை வலை பகுதி (DVWP) on the web from several sources. எனினும், I found it to be surprisingly difficult to find information on this first very basic step. Here is another article in the "quick and easy" அதை நிவர்த்தி செய்ய தொடர்.

ஒரு தரவு பார்வை வலை பகுதியாக உருவாக்க இந்த வழிமுறைகளை பின்பற்றவும் (DVWP). They are based on an "Announcements" வலை பகுதி, ஆனால் பெரும்பாலான பட்டியல்களை விண்ணப்பிக்க.

  1. ஒரு அறிவித்தல்கள் வலை பகுதியாக உருவாக்க ஒரு தளம் சேர்க்கவும்.
  2. ஷேர்பாயிண்ட் டிசைனர் தளம் திறக்க.
  3. தளத்தின் default.aspx திறக்க.
  4. Select the Announcements web part and right-click.
  5. சூழல் மெனுவில், select "Convert to XSஉருக்குT Data View".

ஷேர்பாயிண்ட் டிசைனர் இந்த தளம் இப்போது அதன் தளம் வரையறை இருந்து அமைத்துக்கொள்ள என்று நீங்கள் தெரிவிக்கிறது. என்று அவசியமில்லை மோசமில்லை, ஆனால் முக்கியமான தாக்கங்கள் உள்ளன (செயல்திறன், மேம்படுத்தவும், மற்றவர்கள்) which are beyond the scope of this little "Quick and Easy" நுழைவு. To get more information on this subject, நான் புத்தகங்களை இரண்டு பரிந்துரைக்கிறோம் இங்கே அதே போல் உங்களுக்கு பிடித்த இணைய தேடல்.

நீங்கள் சரியாக செய்யவில்லை என்று உறுதி:

  1. வலை உலாவியை மூடி, மீண்டும் திறக்க (to avoid accidentally re-posting the original "add a new web part").
  2. Select the web part’s arrow drop-down and choose "Modify Shared Web Part" மெனுவிலிருந்து.
  3. கருவி குழு வலது திறக்கிறது.
  4. குழு அதன் வழக்கமான தொகுப்பு விருப்பங்கள் இந்த மாற்றப்பட்டு:
படம்

“ஷேர்பாயிண்ட் பட்டியலில் இருந்து பட்டியலில் திட்டம் நிரலை சொத்து பெற முடியாது” — விளக்கம் / வேலை arounds

இந்த வாரம், நாங்கள் இறுதியாக ஒரு தொலை பயனர் பதிவாகும் என்று ஒரு பிரச்சனை இனப்பெருக்கம்: அவர் Excel ஒரு பட்டியல் உள்ளடக்கங்களை ஏற்றுமதி செய்ய முயன்ற போது, விஷயங்களை வேலை தொடங்க தெரிகிறது என்று, ஆனால் பின்னர் எக்செல் பிழை பாப் அப் என்று: "Cannot get the list schema column property from the SharePoint list". She was running office 2003, windows XP and connecting to MOSS.

நான் Internets தேடியது சில ஊகங்கள் ஆனால் எதுவும் பார்த்தேன் 100% definitive. Hence, இந்த.

பிரச்சினை: Excel ஒரு பார்வை ஏற்றுமதி தேதி கொண்டிருக்கும் (நிரல் தேதி = தரவு வகை).

எங்களுக்கு என்ன வேலை: Convert the date to a "single line of text". அப்பொழுது, ஒரு நாள் அதை மீண்டும் மாற்ற.

That solved it. It was nice to see that the conversion worked, உண்மையில். It was quite nervous that converting things this way would fail, but it did not.

இந்த பிழை வாடிக்கையாளர் மனதில் தேதி தரவு வகை மீது ஒரு பெரிய நிழல் ஏற்பாடு, நாம் மைக்ரோசாப்ட் இருந்து ஒரு உறுதியான பதில் வெளியே தேடும் போகிறாய் அவர்களின் உத்தியோகபூர்வ பதில் மற்றும் hotfix தகவல் நேரத்தை அடுத்த குறுகிய காலத்தில் வட்டம் நான் பதிவு செய்கிறேன் இங்கு புதுப்பிக்க.

பிற குறிப்புகள்:

http://www.kevincornwell.com/blog/index.php/cannot-get-the-list-schema-column-property-from-the-sharepoint-list/

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2383611&SiteID=1

<இறுதியில்>

என்னுடைய குழுசேர்.

Technorati குறிச்சொற்கள்: ,

விரைவான மற்றும் எளிமையான: ஷேர்பாயிண்ட் டிசைனர் முறையை இருந்து பதிக்கப்பட்ட மிகையிணைப்பை ஒரு மின்னஞ்சல் அனுப்ப

ஒரு முறை அல்லது இரு முறை மாதம், எவரேனும் ஒரு மன்றத்தில் கேள்வி: "How do I include hyperlinks to URL’s that are clickable from a SharePoint Designer email?"

மேலும் கருத்து இல்லாமல் வழங்கினார்: (நன்றாக, உண்மையில் மேலும் படத்தை பின்னர் அங்கு கருத்து):

படம்

பெக்கி Isserman மின்னஞ்சல் ஒரு பொருளை ஒரு இணைப்பை பதித்துள்ளது எப்படி ஒரு பயனுள்ளதாக விளக்கம் வரை தொடர்கிறது: http://www.sharepointblogs.com/mosslover/archive/2007/11/20/addition-to-paul-galvin-s-post-about-sending-an-e-mail-with-hyperlinks-in-spd.aspx

புதிய வெளியீடு: ஷேர்பாயிண்ட் டிசைனர் பணியோட்ட விரிவாக்கங்கள் (சரம் கையாளுதல் செயல்பாடுகளை)

புதுப்பிப்பு: இந்த திட்டத்தின் வணிகப்படுத்துதலில் என் எண்ணங்கள் இங்கே பார்க்கவும்: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!569.entry

நான் ஷேர்பாயிண்ட் டிசைனர் மூலம் உருவாக்கப்பட்டது தற்போது வேலைப்பகிர்வுகள் செய்ய சரம் கையாளுதல் நீட்சிகள் வழங்கும் கவனம் இது என் Codeplex திட்ட வேலை பிஸியாக.

விவரங்களுக்கு இங்கே பார்க்கவும்:

திட்ட வீட்டில்: http://www.codeplex.com/spdwfextensions

விடுதலை: https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=spdwfextensions&ReleaseId=8280

பதிப்பு 1.0 பின்வரும் புதிய அம்சங்களை உள்ளடக்கியது:

செயல்பாடு விளக்கம் (அதே என்றால். நிகர செயல்பாடு)
Num-உள்ளீடுகளை() Returns the number "entries" in a string as per a specified delimiter.

எடுத்துக்காட்டாக: Num-entries in a string "a,ப,கேட்ச்" with delimiter "," = 3.

நுழைவு() Returns the nth token in a string as per a specified delimiter.
நீளம் String.Length
பதிலாக() String.Replace()
கொண்டிருக்கிறது() String.Contains()
Returns the word "true" or the word "false".
Substring(ஆரம்பி) String.Substring(ஆரம்பி)
Substring(ஆரம்பி,நீளம்) String.Substring(ஆரம்பி,நீளம்)
ToUpper() String.ToUpper()
ToLower() String.ToLower()
StartsWith() String.StartsWith()
Returns the word "true" or the word "false".
EndsWith() String.EndsWith()
Returns the word "true" or the word "false".

விளக்கினார் ஒரு BDC இயக்க பிழை

நான் பயனர் இடைமுகம் மற்றும் தன்னை வெளிப்படுத்தி என்று இந்த வாரம் ஒரு BDC பிழை 12 hive log at runtime.

முதல், இந்த பயனர் இடைமுகம் தோன்றினார்:

அனைத்து அடையாளங்காட்டி கலாச்சாரம் நுழைக்க துறைகள் சரியாக பெயர் ஒரு SpecificFinder MethodInstance இயக்க கண்டுபிடிக்க முடியவில்லை … Ensure input Parameters have TypeDescriptors associated with every Identifier defined for this Entity.

இங்கே ஒரு திரை ஷாட் தான்:

clip_image001

I could also cause this message to appear in the 12 hive log at will (using my patented high-tech-don’t-try-this-at-home "mysterious errors" முறை):

11/14/2007 09:24:41.27 w3wp.exe (0x080C) 0x0B8C SharePoint Portal Server Business Data 6q4x High Exception in BusinessDataWebPart.OnPreRender: System.InvalidOperationException: The Identifier value ”, of Type ”, is invalid. Expected Identifier value of Type ‘System.String’. at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.FindSpecific(Object[] subIdentifierValues, LobSystemInstance lobSystemInstance) at Microsoft.SharePoint.Portal.WebControls.BdcClientUtil.FindEntity(Entity entity, Object[] userValues, LobSystemInstance lobSystemInstance) at Microsoft.SharePoint.Portal.WebControls.BusinessDataItemBuilder.GetEntityInstance(காட்சி desiredView) Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart.GetEntityInstance மணிக்கு() Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart.SetDataSourceProperties மணிக்கு()

நான் சுற்றி தேடிய மற்றும் சில தடங்கள் காணப்படவில்லை எம்எஸ்டிஎன் மன்றம், but they weren’t enough for me to understand what I was doing wrong. I watched a webcast by டெட் பாட்டிசன் என் நிறுவனம் ஒரு சர்வரில் விட்டு squirreled என் பிரச்சனை உணர வந்தது.

என் ADF உள்ள, காட்டப்பட்டது நான் ஒரு SQL தரவுத்தள இணைக்கும்:

            <சொத்து பெயர்="RdbCommandText" மாதிரி="System.String">
              <![CDATA[
                SELECT
                      , CARRIER_ID, EFFDT, DESCR, EFF_STATUS, TAXPAYER_ID, NETWORK_ID, FRT_FORWARD_FLG, ALT_NAME1, ALT_NAME2, LANGUAGE_CD,
                      COUNTRY, முகவரி 1, முகவரி 2, ADDRESS3, ADDRESS4, நகரம், NUM1, NUM2, HOUSE_TYPE, ADDR_FIELD1, ADDR_FIELD2, ADDR_FIELD3,
                      COUNTY, மாநிலம, தபால் அலுவலகம் சார்ந்த, GEO_CODE, IN_CITY_LIMIT, COUNTRY_CODE, தொலைபேசி, விரிவாக்கம், தொலைநகல், LAST_EXP_CHK_DTTM, FREIGHT_VENDOR,
                      INTERLINK_DLL, TMS_EXCLUDE_FLG
                FROM
                      dbo.PS_CARRIER_ID_VW WITH (nolock)
                WHERE
                  (SETID <> 'SHARE') மற்றும்
                  (lower(CARRIER_ID) >= lower(@MinId)) மற்றும்
                  (lower(CARRIER_ID) <= lower(@ MaxId)) மற்றும்
                  (lower(DESCR) LIKE lower(@InputDescr))
                ]]>
            </சொத்து>

I was provided that SQL from a DBA person and I’m given to understand that it’s a விசேஷமான view they created just for me. The unique key there is CARRIER_ID.

Here is the bug I introduced:

      <Identifiers>
        <Identifier பெயர்="CARRIER_ID" TypeName="System.String" />
        <Identifier பெயர்="DESCR" TypeName="System.String" /> 
</Identifiers>

எங்காவது வரி சேர்த்து, I had managed to confuse myself over the meaning of <Identifiers> and added DESCR even though it’s not actually an identifier. I took DESCR out of the identifiers set and presto! It all worked.

I hope this saves someone some grief 🙂

Technorati குறிச்சொற்கள்: , , ,