Moss tregon mua “Refuzohet hyrja” Edit për një detyrë Workflow, Por unë vërtetë nuk kanë qasje

I’ve implemented a workflow using SharePoint Designer in a site which is mainly read-only to "NT_AUTHORITY\Authenticated Users" (i.e. gjithkush). There is a forms library for an InfoPath form. There is an associated workflow tasks list as well so that when the workflow operates, ajo mund të caktojë detyrat për njerëzit.

Unë thyej leje për bibliotekën formave dhe lista detyrë në mënyrë që çdo përdorues mund të krijojnë forma të legalizuar dhe përditësimin detyrat e tyre caktohen.

I test with my low-privileges test account.

Mund të plotësoni një formular dhe për të shpëtuar në bibliotekë? –> YES

Mund të hyj në detyrë nga një lidhje email? –> YES

Mund të shoh një detyrë workflow linkun Edit –> YES

Unë mund të klikoni në këtë link? –> JO … Leja mohuar.

Pse mund të shoh një lidhje redakto që do të më mohojë leje kur unë klikoni mbi të? That’s not how it’s supposed to work…

Unë shkoj nëpër konfigurimit të sigurisë përsëri, very closely. I do it again. Unë e konsideroj fshirjes këtë post sepse unë natyrisht që nuk di asgjë në lidhje me sigurinë.

Më në fund, I search the Internets. I find this highly unlikely MSDN forum thread: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1838253&SiteID=17

Posterat duket të jetë duke sugjeruar se akti i thjeshtë i eksportimin e punës për një pjatë makinë do të rregullojmë një çështje sigurie Moss? I can hardly believe I just typed that. I’m reminded of the South Park episode about the 9/11 Stan komploti ku është kërkuar Preznit tonë, "Really?" over and over again.

Kështu, asgjë për të humbur, Unë zjarrit deri SPD, right-click mbi workflow dhe ruajeni në c ime:\ drive. That would be the c:\ drive on my laptop. I’m looking over my shoulder the whole time so that no one will ask me, "why are you saving that workflow to your laptop?"

Incredibly, that solves my problem. I can edit the task.

Unë këtë emërojë që kjo të jetë Workaround Shumica Bizarre Rrjedha e 2007.

</fund>

Technorati Tags:

SharePoint Designer, Item aktual të “URL koduar Absolute” dhe HTTPS

We often want to send an email that includes a hyperlink to the item or document that triggered the workflow. We can use current item’s "Encoded Absolute URL" for this purpose. Megjithatë, it always seems to use "http" for the URL protocol. If your site runs on HTTPS then it will not work for you.

imazh

Me aq sa unë e di, there is no out of the box solution to this problem. If you need to use HTTPS, ju keni asnjë nga opsionet kuti.

Për të zgjidhur atë, create a custom action that provides a string replace function to use in your workflow. Alternatively, përdorin një mjet 3 parti të tilla si paketë të shkëlqyer këtu: http://www.codeplex.com/spdwfextensions 🙂

</fund>

Technorati Tags: ,

Quick dhe Easy: Përcaktoni Emri Brendshëm kolonë e një Shtylle Site

UPDATE: Jeremy Thake ka blogged në lidhje me këtë dhe vënë disa Kodi për një aplikim konsol që tregon emrat e brendshme.

I was trying to get a content query web part to display a due date from a task and because the screen label is "Due Date", Unë supozohet se emri kolona për të përdorur në <CommonViewFields> is "Due_x0020_Date".

I gabuar!

The real column name in this case was "DueDate".

Si e kam gjetur atë? I re-read Heather Blog entry Salomonit mbi modifikimin CQWP to show additional columns of data. She describes this process at step #13. Trust it. It’s correct. At least, it was correct for me. I did not trust it at first for another column with a much longer name.

I say "Trust it" because I did not trust it and probably wasted near two hours butting my head up against a wall. After I resolved the "DueDate" emër, Doja të shtoni një tjetër fushë për të <CommonViewFields>. Using the Solomon technique, I was getting a column name like "XYZ_x0020_Project_x0020_Due_x00".

Mendova për veten time, that’s clearly a truncated name. I went ahead and un-truncated it with no success. I finally used the seemingly truncated name and it worked.

Bonus tip: Kur isha duke punuar me CQWP, në qoftë se unë shtoi një emër të keq të brendshëm për <CommonViewFields>, the CQWP would tell me that the query had returned no results. Por, në qoftë se unë shtoi një lloj të dhënave për emrin në terren, it would return a result. Adding the data type actually masked a problem since I was referencing a non-existent field. I could add it, por kur unë u përpoq për të shfaqur vlerën e saj, I would always get a blank.

Kjo nuk ka maskë gabimin:

<CommonViewFields>Due_x0020_Date;</CommonViewfields>

Kjo ka maskë gabimin:

<CommonViewFields>Due_x0020_Date,DateTime;</CommonViewfields>

</fund>

Beware Ndryshimet shkeljen e të ItemStyle.xsl

Unë kam qenë duke punuar me ItemStyle.xsl për të rregulloje pamjen e një pjese Query Përmbajtja Web dhe të drejtë në lidhje me kohën e drekës, I made a breaking change to the xsl. I didn’t realize it, but this had far reaching effects throughout the site collection. I went off to lunch and upon my return, vënë re këtë mesazh shfaqeshin në një bandë e vende:

Në pamundësi për të shfaqur këtë pjesë Web. Për të troubleshoot problemin, të hapur këtë faqe Web në një editor SharePoint Shërbimet e Windows-compatible HTML të tilla si Microsoft Office SharePoint Designer. Nëse problemi vazhdon, kontaktoni administratorin e serverit tuaj Web.

Unë fajësoi klientin (nuk e kuptuar akoma se ajo ishte faji im në këtë pikë) but eventually noticed that visual studio intellisense was warning me that I had malformed XSL. I corrected it and everything started working.

Jini darned të kujdesshëm kur punojnë me ItemStyle.xsl (dhe cilido prej dosjeve globale XSL) — thyerja e tyre prek objekte të shumta në mbledhjen e faqes.

<Fundi />

Biri im Hacked Gamespot

Kështu, këtë mëngjes, djali im është i vendosur për të parë një Halo moshën trembëdhjetë kufizuar 3 Video në Gamespot. I’m outside shoveling snow, so I’m not there to help or hinder. Necessity is the mother of invention and all that … he has a eureka! moment. He realizes that even though Gamespot wants him to enter his real data e lindjes, ai në fakt mund të hyjë ndonjë birth date he wants. Once he realized that, ai e bëri veten të vjetër të mjaftueshme për të parë këtë video.

I’m not quite sure how I feel about this 🙂

E diel Funny: “Është Shtypi Garbage”

Në punën time të parë të kolegjit në 1991, Unë kam qenë me fat për të punuar për një kompani prodhuese me 13 Lokacionet, not including its corporate HQ in New Jersey. I joined just when the company was rolling out a new ERP system. We were a small IT department of about ten people altogether, two of whom Did Not Travel. Part of the project involved replacing IBM System 36 boxes with HP hardware and HPUX. Everyone used green tubes to access the system.

Projekti rrotullon së bashku dhe unë jam i dërguar poshtë në Baltimore me një të ri bashkë-punëtor, Jeff. Our job was to power up the Unix box, sigurohuni O / S ishte duke vrapuar, instaluar sistemin ERP, konfiguroni ERP, train people on the ERP and do custom work for folks on the spot. (This was a dream job, especially coming straight out of college). Before we could really get off the ground, we needed to unpack all the green tubes, put them on desks and wire them. And the best part was that we had to put the RJ11 connectors on ourselves.

For some reason that I never understood and actually never thought to ask about at the time, we had had some contracting company come along and run cable throughout the plant, but we didn’t have them put on the connectors. Kështu, there was a "patch box" with dozens of of unlabeled cables in the "computer room" and these snaked around the building to various places in the building.

Ne kemi punuar rrugën tonë nëpërmjet saj gjatë rrjedhës së një fundjavë, testimi çdo tel, vënë në një lidhës (duke u siguruar se ishte e drejtë vs. kaluar), sigurimin settings pak në tubat e gjelbër dhe printera ishin të sakta, labeling wires, making sure that "getty" was running correctly for each port and probably a thousand other things that I’ve suppressed since then. It all came together quite nicely.

Por, there was one important cable that we couldn’t figure out. The plant in Baltimore had a relationship with a warehousing location in New Jersey. Some orders placed in Baltimore shipped out of that location. There were two wires that we had to connect to the HPUX box: a green tube and a printer. The green tube was easy, but the printer turned into a three-week nightmare.

If you don’t know it, or have suppressed it, dealing with green tubes and printers this way, there are various options that you deal with by setting various pins. 8-bit, 7-bit, parity (even/odd/none), probably others. If you get one of those settings wrong, the tube or printer still shows stuff, but it will be total gibberish, or it will be gibberish with a lot of recognizable stuff in between. Sigurisht, these pins are hard to see and have to be set by using a small flat-edge screw driver. And they are never standard.

We set up the first of many quick calls with the NJ guy (a grizzled computer hater who probably curses us to this day). We got the green tube working pretty quickly, but we couldn’t get the printer to work. It kept "printing garbage". We would create a new RJ11 connector, switching between crossed and straight. We would delete the port and re-created in Unix. We went through the arduous task of having him explain to us the pin configuration on the printer, kurrë me të vërtetë i sigurt nëse ai e kishte bërë atë të saktë.

Është koha për të shkuar të jetojnë, gjithçka në Baltimore është gjallë, por ne nuk mund të merrni printer mallkuar deri në New Jersey për të punuar! We’ve exhausted all possibilities except for driving back up to NJ to work on the printer in person. To avoid all that driving, we finally ask him to fax us what he’s getting when it’s "garbage", hoping that maybe there will be some clue in that garbage that will tell us what we’re doing wrong.

When we got the fax, we immediately knew what was wrong. Shoh, our method of testing whether we had configured a printer correctly was to issue an "lp" command like this:

lp /etc/passwd

Në parim, we printed out the unix password file. It’s always present and out of the box, always just one page. You standard Unix password file looks something like this:

smith:*:100:100:8A-74(zyrë):/home/smith:/usr/bin/sh
guest:*:200:0::/home/guest:/usr/bin/sh  

We had been printing out the password file over and over again for several weeks and it was printing correctly. Megjithatë, to the end user, it was "printing garbage".

</fund>

Yet Another Kredencialet Rrjeti Multi-Sfida dhe Çështja Zgjidhja

Klienti im kohët e fundit instaluar një pajisje magjike nga Dëllinjë që me sa duket zëvendësoi vjetër e tyre akrobat ngarkesës Cisco rrjet (NLB). At about the same time, ne kemi instaluar një hotfix për të trajtuar një problem të rrjedhës së punës.

Një ditë apo dy më vonë, kemi vënë re një problem kur kemi në disponim ofruesin e shërbimit të përbashkët (SSP). We could get to it, but we would be challenged for a user ID and password many times on each page. This didn’t happen with the main portal app, nor central administration. Naturally, ne nuk e dimë se cili prej të dyve (Dëllinjë ose hotfix) do të jetë çështja, pse unë fuqimisht dyshuar e hotfix, parafytyruar ne nuk e kishte instaluar atë mjaft e drejtë.

It turned out that Juniper had some kind of compression setting. Një nga Shifrat veshur over in the network group turned that setting off. That solved our problem.

This is not the first time that compression has been the root cause of a SharePoint problem for me. IIS compression adversely affected a 3rd party tool from the good people at The Dot Net Factory for IE 6 shfletues (IE 7 shfletues punuar pa vështirësi).

Kështu, add "compression" në listën e rreziqeve.

</fund>

Kredia për: http://www.elfwood.com/art/s/h/sherry/death_colour.jpg.html

Technorati Tags: ,

Thinking About Ndryshimi platformë Blogging

I started off my "blogging career" using Microsoft’s platform and it’s been good to me. It’s easy to post, there are good options and widgets for managing your "space", decent web storage and so forth.

Megjithatë, I really just fell into the MS solution with almost no planning. That alone calls for me to evaluate where I am and where I’m going, in terms of a blogging platform. There are also two important limitations that bother me right now vis-à-vis Windows Live Spaces.

I parë, I can’t get very good statistics. There are stats but the detail is often truncated and not presented in a way that allows for any kind of analysis. There no sorting or export capability. I get many blog ideas based on the kind of information people find (or especially fail to find) when they search my blog. It’s very hard to use lives spaces for that.

I dytë, there does not seem to be any mechanism to "monetize" a windows live space blog. Në të vërtetë, in order to get rid of MS ads (from which I derive no benefit), I need to actually pay Microsoft. (At least, that’s how I understand it; I have been unable to get definitive answers to this and questions like it).

Now that I’ve got an established pattern and set of blogging habits, I want to evaluate other options. I’ve done some research and there are a lot of choices, but I’m curious as to what other people, particularly others in the SharePoint community (as bloggers or readers), like to use.

If this subject interests you and you have an opinion or are willing to share your experience, please leave a comment or email me directly.

Falënderim!

<Fundi />

Technorati Tags:

Email SharePoint Designer Dërgon ???? në një email

Përdoruesit Forum here pas here pyet: Pse nuk SharePoint Designer vënë ???? në email tim në vend të një vlerë në terren?

Një arsye kjo ndodh për shkak se është e ndryshueshme për të cilën ju i referoheni është null.

This can happen because you are trying to reference a field from the "current item" por kurrë përdoruesi ka hyrë një vlerë në atë fushë formë.

<Fundi />

Technorati Tags:

Krahasoj / Test për datat Blank në SharePoint Designer Workflow

Skenar: In a SharePoint Designer workflow, you need to determine if a date field is blank.

Problem: SPD does not provide a direct method for comparing dates to anything other than a date. You cannot create a condition like this: "If [DateField] equals blank".

Zgjidhje: Convert the date to a string. Use string comparison to determine if the date is blank.

Screen Shots:

The following screen shots show how to do this. Në këtë skenar, a field on an item, "Environmental Permits:First Permit Reminder Date", is submitted and the workflow fires in response.

imazh

imazh

Shënimet:

When I tried this, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (Variabël:StringReminderDateDate) but it did allow it.

I was also concerned that allowing it, the value might be null and either blow up the WF at runtime or maybe raise the global temperature 1/2 a degree, but those concerns were unfounded.

</fund>

Technorati Tags: