Gorgo.Live.ToString()

Mariusz, Gorzoch tech Blog

Archive for November 2010

Active directory group policies – how to enumerate them without admin rights

leave a comment »

Today I came across problem with my Internet Explorer 8, where I want to check why some of the intranet sites are shown into compatibility mode, where according to browser setting they should not. As none of the browser setting point to it I suspected that this can get to me machine thru group policies. Unfortunately as I do not have admin rights on AD I had a problem how to enumerate them. Happily there is tool called rsop.msc (start->run->rsop.msc) with you can start and it will show you all active directory group policies applied to your machine/your user.

So, once I’ve started the tool I get screen as bellow:

image

I dig into “Internet explorer settings” (here is brief description of all possible group policies for IE : http://technet.microsoft.com/en-us/library/cc985351.aspx ), and get to the screens shown bellow:

image

and now I know who did it to me 🙂

Written by Mariusz Gorzoch

29 November 2010 at 17:07

Posted in Bez kategorii

Splitting XML group record into separate record messages in BizTalk orchestration

leave a comment »

Sound like easy think, but guess what? It’s not as long you do not discover “Index functoids” on mapper toolbar. I’ve tried to implement that without this small control and believe me I get all kind of strange errors starting from : “Null message” found, “Message not fallow schema” or just simply parse error. Happily this kind of problem can be quite quickly solved thru index functoids.  Here you have link to official msdn definition of it : http://msdn.microsoft.com/en-us/library/ee253838(BTS.10).aspx .

In nut shell this control takes (at least) two parameters, where:

  1. First one is the source node in the record element
  2. Second parameter points record with you want to retrieve (please notice here that first record has index “1” and not “0”)

Bellow you can find example of sample map I was working on :

you can see on the picture above that each node from source message is connected to “Index functoids” as a first argument and “LoopIndex” (record index I want to retrive) as a second parameter.

Now, if we use this map on BizTalk orchestration, like the one bellow (ConstructCreateDetailsMessage <- use above map to extract record by record from source message):

then we get simple orchestration which split multi-record node in source message into separate messages for each record.

After this discovery I find out that, knowing those all functoids can save a lot of time, 😉

happy biztalking

Written by Mariusz Gorzoch

10 November 2010 at 08:54

Posted in BizTalk