<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>BMC Communities: Message List - AR System Automation with C#</title>
    <link>http://communities.bmc.com/communities/community/bmcdn/bmc_atrium_and_foundation_technologies/bmc_remedy_ar_system?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 19 Nov 2008 23:12:01 GMT</pubDate>
    <generator>Clearspace 2.5.15 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2008-11-19T23:12:01Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: AR System Automation with C#</title>
      <link>http://communities.bmc.com/communities/message/83956?tstart=0#83956</link>
      <description>&lt;!-- [DocumentBodyStart:3947f7d1-f024-46e3-a079-f86e380a4c2c] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Thanks Appajee,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I was out for sometime, but I am still stuggling to get what I need to achive with the BMC.ARSystem.DLL (7.1), As I explained Earlier, &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want to login to the remedy system and Open the GUI of Create New Ticket Form with only the required Fields filled in with values, all these I want to do through the&amp;nbsp; C# Code and whenever we want to show the Remedy GUI, we will set all these values from code and Pop up the new Ticket Form with values, the user had to Verify the details and Click manually to submit the data on to the Remedy System.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the whole, they were doing it manually now, so we want to automate only data entry operations through the code, but I didnot find any methods that can be used to show the Form to user, Earlier I had used AR System 4.5 API with COM objects, I was able to login and Show the form to user using LoadForm and CreateForm methods, but the same methods were not avilable or doing the same operation with 7.1 API.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am able to login to the system using server.login and able to get the fields, forms, etc. But I am not sure how to show the form to user, I went through the C and Java API too, didnt get any clue. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please help me.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Dhinesh&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3947f7d1-f024-46e3-a079-f86e380a4c2c] --&gt;</description>
      <pubDate>Wed, 19 Nov 2008 23:12:01 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/83956?tstart=0#83956</guid>
      <dc:date>2008-11-19T23:12:01Z</dc:date>
      <clearspace:dateToText>1 year, 1 day ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: AR System Automation with C#</title>
      <link>http://communities.bmc.com/communities/message/82986?tstart=0#82986</link>
      <description>&lt;!-- [DocumentBodyStart:7cb4ff0a-bb9c-42f8-bc21-f0bc172aba0a] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;The AR System .NET and COM API is an unsupported API and it only includes the readme (for installation instruction) and a CHM for limited documentation (includes few usage code snippets). If there is any specific usage snippet you like to see or missing or incorrectly presented in the doc, please let us know. In any case, as this API is a wrapper on top of AR System C API and intimately deals with AR System constructs -- it is good idea to know about the object model, data structures involved (at least from C API perspective, for which there is a very detailed published/supported documentation). &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In any case, you need to add reference to BMC.ARSystem.DLL and do not need the common.dll as it is a common/utility assembly used by few sample apps.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You need to have some knowledge about which specific form you want to integrate. This can be best supplied by the specific form author, or, your AR System administrator. Specifically about forms of a specific application supplied by BMC, there usually are few designated forms for integration purposes. You need to look into the specific application documentation or associated white papers to locate those forms and information about the fields on those forms.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Appajee&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7cb4ff0a-bb9c-42f8-bc21-f0bc172aba0a] --&gt;</description>
      <pubDate>Mon, 03 Nov 2008 17:38:09 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/82986?tstart=0#82986</guid>
      <dc:date>2008-11-03T17:38:09Z</dc:date>
      <clearspace:dateToText>1 year, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: AR System Automation with C#</title>
      <link>http://communities.bmc.com/communities/message/82958?tstart=0#82958</link>
      <description>&lt;!-- [DocumentBodyStart:2c47b127-3585-4330-9c03-f169a6673a09] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;this should work with API 7.1 . &lt;em&gt;In any case there is a complete code for Server.CreateEntry method in the BMC ARSystem.chm file.&lt;/em&gt; &lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt; try&lt;br/&gt;&lt;br/&gt;{&lt;br/&gt;BMC.ARSystem.Server server;&lt;br/&gt;&lt;br/&gt;server = new BMC.ARSystem.Server();&lt;br/&gt;&lt;br/&gt;server.Login("your_server", "your_user", "your_password", "");&lt;br/&gt;&lt;br/&gt;String myForm = "your_form";&lt;br/&gt;&lt;br/&gt;BMC.ARSystem.FieldValueList fieldValues = new BMC.ARSystem.FieldValueList();&lt;br/&gt;&lt;br/&gt;fieldValues[2] = "username"; //Submitter&lt;br/&gt;&lt;br/&gt;fieldValues[8] = "sometext"; //Short Description&lt;br/&gt;&lt;br/&gt;fieldValues[7] = "New"; //Status&lt;br/&gt;&lt;br/&gt; &lt;br/&gt;&lt;br/&gt;String entryId = server.CreateEntry(myForm, fieldValues);&lt;br/&gt;&lt;br/&gt; Console.WriteLine("Submitted record: " + entryId.ToString());&lt;br/&gt;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;catch(BMC.ARSystem.ARException e)&lt;br/&gt;&lt;br/&gt;{&lt;br/&gt;&lt;br/&gt;Console.WriteLine("BMC.ARSystem.Exception caught\n" + e.ToString());&lt;br/&gt;}&lt;/strong&gt; &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2c47b127-3585-4330-9c03-f169a6673a09] --&gt;</description>
      <pubDate>Mon, 03 Nov 2008 07:40:22 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/82958?tstart=0#82958</guid>
      <dc:date>2008-11-03T07:40:22Z</dc:date>
      <clearspace:dateToText>1 year, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: AR System Automation with C#</title>
      <link>http://communities.bmc.com/communities/message/82934?tstart=0#82934</link>
      <description>&lt;!-- [DocumentBodyStart:af491e79-84a0-4644-b6a9-f9d137a692da] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Thanks Anders,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was trying as you mentioned, but I am not getting "EntryIdList" property with ARSystem object, though I am getting "EntryListField" and "EntryListFieldList", I had added reference for 'BMC.ARSystem.Utilities.Common.dll' and 'BMC.ARSystem.dll'. and I had downloaded for version API 71. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;More questions here, Is there a way to know the fieldnames on the Create New Ticket form? where will I be able to get those? And do you / anyone have any documents that shows how to use these methods?&amp;nbsp; I got a PDF file 'RemedyAPIGuide.pdf' that has chapter 6 explaining about ARuser.tlb which is a COM type library, so other than that I don't have any other documents / not able to find anything that explains about these methods and properties and what it does. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Its strange that I got download link for New APIs and just a read me file, but the chm is not of any help as it doesn't really explain purpose of each classes/properties.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So please help me if you have any.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Dhinesh&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:af491e79-84a0-4644-b6a9-f9d137a692da] --&gt;</description>
      <pubDate>Fri, 31 Oct 2008 15:20:16 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/82934?tstart=0#82934</guid>
      <dc:date>2008-10-31T15:20:16Z</dc:date>
      <clearspace:dateToText>1 year, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Re: AR System Automation with C#</title>
      <link>http://communities.bmc.com/communities/message/82891?tstart=0#82891</link>
      <description>&lt;!-- [DocumentBodyStart:9f963867-57e0-4eb8-92f7-d159016d57e1] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is a short example of submitting records. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;try&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; ARSystem.Server server;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; server = new ARSystem.Server();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; server.Login("myserver", "user", "password", "");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; String myForm = "formname";&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; ARSystem.FieldValueList fieldValues = new ARSystem.FieldValueList();&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; fieldValues[2] = "username"; //Submitter&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; fieldValues[8] = "sometext"; //Short Description&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; fieldValues[7] = "New";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Status&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; ARSystem.EntryIdList entryId = server.CreateEntry(myForm, fieldValues); &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; Console.WriteLine("Submitted record: " + entryId.ToString());&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;catch(ARSystem.Exception e)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine("ARSystem.Exception caught\n" + e.ToString()); &lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9f963867-57e0-4eb8-92f7-d159016d57e1] --&gt;</description>
      <pubDate>Thu, 30 Oct 2008 17:27:41 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/82891?tstart=0#82891</guid>
      <dc:date>2008-10-30T17:27:41Z</dc:date>
      <clearspace:dateToText>1 year, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>AR System Automation with C#</title>
      <link>http://communities.bmc.com/communities/message/82887?tstart=0#82887</link>
      <description>&lt;!-- [DocumentBodyStart:65aab3c6-530c-44f2-8266-9ce4b7fa3310] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&lt;span&gt;Hello Everyone,&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am Completely new to Remedy and AR System, I need some help on automating the Create New Ticket action on AR system, We have a product and some telcom carriers were using it to track network performance and issues, so whenever there is some issue which is tracked by our tool, it should log into AR System on the user's machine and create a new ticket with all the details of the issue filled into the fields, the user should only review the details and should manually submit the ticket.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;So I had been trying to get some documents / help for last two weeks and till now I just found out a way to loginto the AR System using the aruser.tlb file on my visual studio environment with C# (usign COM conversion to C# dll), but just now I found the .Net COM API 7.1 and all the related dlls and chm file, but no where I found any document that tells the basics of how to login to the system or how to create a new ticket, the chm just lists down all the methods and parameters, I am lost somewhere, so Is there really some document that tells atleast how to go about creating ticket, how to get the field names to use and modify the values on new ticket form and such activities?&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Simply what I am trying to achieve is, automate the create new ticket action from within our tool, instead of user logging in manually into AR System and entering the new issue details manually, so all these should be done from program and only submission will be user.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;If any of you had done something like this or you know where such post / document /help file exist in this forum, it will be really helpful.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Dhinesh&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:65aab3c6-530c-44f2-8266-9ce4b7fa3310] --&gt;</description>
      <pubDate>Thu, 30 Oct 2008 16:59:52 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/82887?tstart=0#82887</guid>
      <dc:date>2008-10-30T16:59:52Z</dc:date>
      <clearspace:dateToText>1 year, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
  </channel>
</rss>

