MOSS my vertel “Toegang geweier” 'n Workflow taak te wysig, Maar ek het regtig Het Access

Ek het in 'n site wat hoofsaaklik net lees "NT_AUTHORITY bekragtigde gebruikers toegepas word geïmplementeer om 'n werk met 'SharePoint Designer" (d.w.z. almal). There is a forms library for an InfoPath form. There is an associated workflow tasks list as well so that when the workflow operates, dit kan toewys take aan mense.

Ek verbreek toestemming vir die biblioteek en taak lys sodat 'n geverifieerde gebruiker vorms kan skep en werk hulle toegewysde take.

I test with my low-privileges test account.

Kan ek vul en red 'n vorm aan die biblioteek? –> JA

Kan ek toegang tot die taak van 'n e-pos skakel? –> JA

Kan ek sien 'n Edit skakel workflow taak om –> JA

Kan ek op die skakel kliek? –> GEEN … Toestemming geweier.

Hoekom kan ek sien 'n skakel wysig wat my toestemming ontken wanneer ek op? That’s not how it’s supposed to work…

Ek gaan weer deur die sekuriteits verstellings, very closely. I do it again. Ek oorweeg om hierdie pos te skrap omdat ek natuurlik nie weet nie enigiets oor die veiligheid.

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

Die plakkate vertoon word wat daarop dui dat die eenvoudige daad van die uitvoer van die werksvloei te 'n ry skottel sal 'n MOSS sekuriteit probleem op te los? I can hardly believe I just typed that. I’m reminded of the South Park episode about the 9/11 sameswering waar Stan vra ons Preznit om, "Werklik?" over and over again.

So, niks om te verloor nie, Ek brand SPD, regs-kliek op die workflow en stoor dit in my c:\ 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, "Hoekom is jy spaar dat workflow na jou laptop?"

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

Ek benoem hiermee die mees bisarre Workflow tydelike oplossing van 2007.

</einde>

Technorati Tags:

SharePoint Designer, Huidige item “Gekodeer Absolute URL” en 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. Egter, dit lyk altyd "http te gebruik" for the URL protocol. If your site runs on HTTPS then it will not work for you.

beeld

Sover ek weet, there is no out of the box solution to this problem. If you need to use HTTPS, jy het nie uit die boks opsie.

Om dit op te los, create a custom action that provides a string replace function to use in your workflow. Alternatively, gebruik 'n 3de party hulpmiddel soos die uitstekende pakket hier: http://www.codeplex.com/spdwfextensions 🙂

</einde>

Technorati Tags: ,

Vinnige en maklike: Bepaal Interne kolom naam van 'n kolom Site

UPDATE: Jeremy Thake blog oor en sit 'n paar kode vir 'n konsole aansoek wat interne name toon.

Ek het probeer om 'n inhoud navraag web deel te kry om 'n vervaldatum van 'n taak om te wys, en omdat die skerm van 'n etiket "vervaldatum", Ek aanvaar dat die kolom naam te gebruik in <CommonViewFields> "Due_x0020_Date".

Verkeerd!

Die werklike kolom naam in hierdie geval was "DueDate".

Hoe het ek dit vind? I re-read Heather Salomo se blog inskrywing op die wysiging van CQWP to show additional columns of data. She describes this process at step #13. Trust it. It’s correct. Ten minste, it was correct for me. I did not trust it at first for another column with a much longer name.

Ek sê "Vertrou dit" because I did not trust it and probably wasted near two hours butting my head up against a wall. After I resolved the "DueDate" naam, Ek wou 'n ander veld toe te voeg tot <CommonViewFields>. Using the Solomon technique, Ek was besig om 'n kolom naam soos "XYZ_x0020_Project_x0020_Due_x00".

Ek het gedink, 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 punt: Wanneer ek besig was met die CQWP, as ek by 'n slegte interne naam <CommonViewFields>, the CQWP would tell me that the query had returned no results. Maar, as ek by 'n datatipe aan die gebied se naam, 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, Maar toe ek probeer het om die waarde daarvan om te wys, I would always get a blank.

Dit het nie masker die fout:

<CommonViewFields>Due_x0020_Date;</CommonViewfields>

Dit het verdoesel die fout:

<CommonViewFields>Due_x0020_Date,Date Time;</CommonViewfields>

</einde>

Pasop Breaking veranderinge aan ItemStyle.xsl

Ek was met ItemStyle.xsl werk om die voorkoms van 'n inhoud navraag Web Deel en reg aan te pas oor middagete, 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, opgemerk hierdie boodskap verskyn in 'n klomp plekke:

Kan nie hierdie webwerf om deel te vertoon. Om die probleem op te los, Hierdie webblad oopmaak in 'n Windows SharePoint compatible HTML-redakteur soos Microsoft Office SharePoint Designer. As die probleem voortduur, kontak met jou Web bediener se administrateur.

Ek blameer die kliënt (nie besef nie, dat dit my skuld was op hierdie punt) but eventually noticed that visual studio intellisense was warning me that I had malformed XSL. I corrected it and everything started working.

Wees gestop versigtig wanneer jy werk met ItemStyle.xsl (en enige van die globale XSL-lêers) — breek hulle raak baie artefakte in die terrein versameling.

<einde />

My Seun Hacked Game Spot

So, vanoggend, my seun is vasbeslote om 'n ouderdom dertien beperkte Halo te sien 3 video op Game Spot. 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 werklike geboortedatum, hy kan eintlik ' 'n birth date he wants. Once he realized that, Hy het self oud genoeg is om die video te sien.

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

Sondag Funny: “Dit druk Garbage”

Op my eerste werk uit van die kollege in 1991, Ek was gelukkig om te werk vir 'n produksie met 13 plekke, 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.

Die projek rol saam en ek gestuur met 'n nuwe mede-werker af te Baltimore, Jeff. Our job was to power up the Unix box, maak seker dat die O / S hardloop, die installering van die ERP-stelsel, instel van die ERP, train people on the ERP and do custom work for folks on the spot. (Dit was 'n droom werk, veral kom reguit uit die kollege). Before we could really get off the ground, ons nodig het om al die groen buise te pak, put them on desks and wire them. And the best part was that we had to put the RJ11 connectors on ourselves.

Vir een of ander rede dat ek nooit verstaan ​​nie en eintlik nooit gedink om te vra oor die tyd, het ons het 'n paar kontrakterende maatskappy kom saam en hardloop kabel deur die plant, but we didn’t have them put on the connectors. So, daar was 'n "pleister boks" met die dekades van ongelabelde kabels in die "rekenaar kamer" en hierdie kolle om die gebou op verskeie plekke in die gebou.

Ons het ons deur dit in die loop van 'n naweek, die toets van elke draad, om op 'n stuk (om seker te maak dit was reguit vs. gekruis), verseker die bietjie instellings op die groen buise en drukkers was korrek, labeling wires, om seker te maak dat "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.

Maar, 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, maar die drukker het in 'n drie-week nagmerrie.

As jy weet dit nie, of onderdruk, die hantering van groen buise en drukkers op hierdie manier, there are various options that you deal with by setting various pins. 8-bietjie, 7-bietjie, pariteit (selfs / vreemde / geen), probably others. If you get one of those settings wrong, die buis of printer toon steeds dinge, maar dit sal die totale brabbeltaal wees, or it will be gibberish with a lot of recognizable stuff in between. Natuurlik, these pins are hard to see and have to be set by using a small flat-edge screw driver. And they are never standard.

Ons het die eerste van baie vinnige oproepe met die NJ man ('n bont rekenaar vyand wat ons waarskynlik vloeke aan hierdie dag). 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, nooit regtig seker of hy besig was om dit korrek.

Dit is tyd om te gaan woon, alles in Baltimore is neurie, maar ons kan nie die vervloekte drukker in NJ om te werk! We’ve exhausted all possibilities except for driving back up to NJ to work on the printer in person. To avoid all that driving, ons uiteindelik hom vra om ons te faks wat hy kry wanneer dit "gemors", hoop dat miskien is daar 'n leidraad in daardie gemors wat sal sê ons wat ons verkeerd doen.

Toe ons die faks, we immediately knew what was wrong. Sien, ons metode van toets of ons 'n drukker korrek ingestel het was 'n "LP uit te reik" opdrag soos:

LP / etc / passwd

Basies, 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(kantoor):/home / Smith:/usr / bin / sh
:*:200:0::/huis / gastehuis:/usr/bin/sh  

We had been printing out the password file over and over again for several weeks and it was printing correctly. Egter, aan die einde gebruiker, dit is "druk gemors".

</einde>

Nog 'n netwerk Bewyse Multi-Challenge kwessie en Oplossing

My kliënt het onlangs 'n magie toestel uit geïnstalleer Juniper wat blykbaar hul ou Cisco netwerk load balancer vervang (NLB). At about the same time, ons geïnstalleer, 'n die hotfix 'n workflow probleem aan te spreek.

'N dag of twee later, ons 'n probleem opgemerk wanneer ons toegang tot die gedeelde diensverskaffer (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, Ons het nie geweet watter een van die twee (Juniper of hotfix) sou die kwessie, al het ek sterk vermoed dat die hotfix, en besyfering ons het nie geïnstalleer is dit heeltemal reg.

It turned out that Juniper had some kind of compression setting. Een van die robed syfers 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 blaaiers (IE 7 Die blaaiers gewerk sonder probleme).

So, voeg "kompressie" aan die gevare lys.

</einde>

Krediet aan: http://www.elfwood.com/art/s/h/sherry/death_colour.jpg.html

Technorati Tags: ,

Dink oor die verandering van Blogging Platform

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", ordentlike web stoor en dies meer.

Egter, 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.

Eerste, 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 (of veral nie om te vind) when they search my blog. It’s very hard to use lives spaces for that.

Tweede, there does not seem to be any mechanism to "monetize" a windows live space blog. In werklikheid, om ontslae te raak van MS-advertensies (waaruit ek put geen voordeel), I need to actually pay Microsoft. (Ten minste, dit is hoe ek dit verstaan; Ek is nie in staat is om definitiewe antwoorde te kry en vrae wil dit).

Nou dat ek het 'n gevestigde patroon en stel blog gewoontes, I want to evaluate other options. I’ve done some research and there are a lot of choices, maar ek is nuuskierig na wat ander mense, veral ander in die gemeenskap van SharePoint (as bloggers of lesers), like to use.

As hierdie onderwerp belange en jy het 'n mening of bereid is om jou ervaring te deel, los 'n kommentaar of my direk e-pos.

Dankie!

<einde />

Technorati Tags:

SharePoint Designer E-pos Stuur ???? in 'n e-pos

Forum gebruikers soms vra: Hoekom nie SharePoint Designer sit ???? in my e-pos in plaas van 'n veld waarde?

Een rede dit gebeur is omdat die veranderlike waarna jy verwys, is van nul.

This can happen because you are trying to reference a field from the "current item" maar die gebruiker nog nooit by 'n waarde in daardie vorm veld.

<einde />

Technorati Tags:

Vergelyk / Toets vir Blank datums in SharePoint Designer Workflow

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

Probleem: 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".

Oplossing: 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. In hierdie scenario, a field on an item, "Environmental Permits:First Permit Reminder Date", is submitted and the workflow fires in response.

beeld

beeld

Notas:

When I tried this, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (Veranderlike: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.

</einde>

Technorati Tags: