Can you view message bodies using 'HAT' in BizTalk 2006? - biztalk

So I need to view the message body of a message that is entering an orchestration in BizTalk 2006, because there is no admin console tracking, i'm trying to use Health and Activity Tracking' I can see the orchestration in the query results but when I right click on the cell and show the message flow, it show me the details of the inputted message into the orchestration but from what I can see it doesn't allow me to view the message body, am I missing something or is there another way to view the body in 2006?
Thanks,
Kyle.

UPDATE - I found the answer, I just needed to run a query in HAT, right click on the tracked event and 'Save All Tracked Messages...' that then allows you to view the message bodies :)

Related

Using Google Calendar API with secondary calendars resulting in "Invalid Value" error

I am unable to do the /clear action using Google Calendar API with a secondary calendar. I get the same error using either a javascript implementation or directly from their own API explorer at https://developers.google.com/calendar/v3/reference/calendars/clear
To reproduce this, please try the following:
Create a secondary calendar using the calendar subdomain (or whatever method you prefer)
Note the ID of the calendar (looks like xxxxxxxxxxxxxxxxxxxxxxxx#group.calendar.google.com)
Go to their API Explorer for the call: https://developers.google.com/calendar/v3/reference/calendars/clear
Enter your calendar id in the field on the right labeled "calenderId".
Enable "OAuth 2", Disable "API Key".
Tap the EXECUTE button at the bottom.
I get the error 400 "Invalid Value". I've tried this on multiple unrelated accounts with the same result. This seems to be a serious flaw. Has anyone had success with the /clear endpoint for secondary calendars as specified by the calendarId?
Right at the top it clearly says "Primary Calendar", but then it seems a little nuts to also need to provide a calendar ID. sigh

Firebase Analytics - Events Reporting - drill down on event parameters

I have integrated my web app with firebase and enabled analytics.
I am logging an event for login as follows
analytics.logEvent('login', {'method': 'facebook'})
analytics.logEvent('login', {'method': 'google'})
I am able to see the events in the events section.
What I would like to see is the drill down of login events based on method.
i.e
Login event:
method : Facebook ---- x events
method : Google ---- y events
For the login event, on the edit parameter reporting section, I have added the required parameter (in my case: method) and saved.
After this I could see a new card displaying the following
But I can't see any other info. Can some one tell me how to get this drill down information.
Is it even possible to get this drill down info.
It seems whatever I have done is the right thing. It is just that the GA shows the drill down only for the data that it received after adding the parameters.
For the previous data it shows as not set
Now I am able to see the drill down.

How to Persist Previous Events in Google Tag Manager

I need it to build a specific Events Flow - for certain buy-buttons that refer to corresponding paywalls and success-pages in order to find out what buttons/paywalls are more efficient.
My website is an SPA. I use History Change triggers instead of Page View triggers (Old/New History State is what changes when surfing web pages).
There is a chain of actions:
Paywall-button click from a /page-1 to /subscription;
Paywall view (History) on a /subscription;
Authorisation (eg. on a Form Subscription event) on a /subscription;
Subscription-button click on a /subscription;
Subscription success on a /subscription/success (let's name it "Subscription Success 1").
However, there are other ways to reach /subscription/success (let's call it "Subscription Success 2"). For example, when step-1's click occurs on a big set of other pages (not /page-1)).
On the step-5, I made a special Tag that tracks "Subscription Success 1". It is based on a Trigger-group-1 that tracks success page's URL and a Paywall-button click from step-1.
So, in order to track "Subscription Success 2", I need to set up a Trigger exception on either Trigger-group-1 or on a Trigger that is responsible for Paywall-button click on the step-1. But it doesn't work like this: "Subscription Success 2" Tag fires anyway.
How to solve it? How to persist that 1st step's event and use it as an exception?
You could create a cookie that will save a value for the first event and then use the value as a trigger/exception for your tag.

Create topic using a bot

I'm in a situation in which i need to be able to create a topics using self created bot. My forum has a special category and user, which can create a topics in that category.
Technology i'm using to create that bot is ruby + mechanize gem but it's not important right now. That bot works in a following way:
Sign in as previously mentioned user:
visit - /ucp.php?mode=login
fill the sign-in form using user credentials
if, after submiting a form, there is a sign-out link somewhere on the page, threat this whole process as "successfull"
Create a topic
visit - /posting.php?mode=post&f=21
fill subject field with desired subject
fill message field with desired message
submit a form using Submit button
And now, while first point works just great, the second one behaves in a strange way. After submiting a form, there is no error message or anything like that, i'm just getting redirected to /viewforum.php?f=21 (log's says that it's 302 Moved Temporarily status) page and the topic is not there.
Can anyone tell me what such behaviour means? Is there any security mechanism i don't know about? Please also note that the new topic form has form_token and creation_time fields filled correctly while form is beeing submited.
Thanks in advance for any clues.
According to this thread: https://stackoverflow.com/a/11713867/552936, user is treated as a bot if he sends a form without any delay (and it end's up with a 302 redirect). I can't find any info on google what's the exact delay, carck3r says that it's 8 seconds but for me, it was 2 seconds.

How to get resourceName for Tridion LocalizableMessage when creating new PublisherException?

I need to stop publishing of a page when a certain condition exists, for example if the page name contains 'one' using the Event System. Also, the other pages should continue to publish.
I am thinking to use a PublisherException instead of a generic exception.
The problem is the I do not know the resourceName of the LocalizableMessage. Any ideas?
if (item.Title.ToString().Contains("one"))
{
Localization.LocalizableMessage errResource = new Localization.LocalizableMessage("error");
throw new PublisherException(errResource, new Exception("Can't get there from here!"));
}
The Event System can stop Publishing, there is no middle ground there though, when you throw an exception, it stops the entire transaction.
Like Puntero mentions, if you want to remove an item from a Publish Transaction, that is where a Custom Resolver comes in. From here you cannot communicate back to the Publish Transaction, but you have access to the Tridion Logger (eventlog):
Tridion.Logging.Logger.Write("your message string", "MyResolver", LoggingCategory.General, TraceEventType.Information);
With regards to your LocalizableMessage in the Event System, you should be able to do the following:
throw new PublisherException(new LocalizableMessage(Properties.Resources.ResourceManager, "PagePublishErrorMessage"));
Where the resourceName is pointing to the name of a String resource you have in your Project.
I agree with #Puntero that if you want other page in a publish action to go through, you should use a Resolver rather than an Event Handler.
I tried to raise a warning to alert users of one item not being resolved, but failed. But there may be some good tips/ideas for you here: Raising a “warning” status during SDL Tridion 2011 publishing
In the end, the only way I could get anything to work was to set "Allow X failures", and then do a check in a template, and raise the error there. That will count as a Render failure, and allow the publisher to move on to the next item in the publish transaction.
As for the message? What message would you like to display?

Resources