RE: [Arsperl-users] Finding out a forms Application name
Brought to you by:
jeffmurphy
|
From: Mark V. <Mar...@ev...> - 2006-01-13 23:55:41
|
Brent,
Here is the line my code uses to export an Application container:
my $def =3D &ars_Export( $ctrl, '', &ARS::AR_VUI_TYPE_NONE,
'container', $object );
where $object is the name of the application
The value returned is a multi-line string containing the entire
application definition and is set up with a group of reference blocks.
Here's a piece of the my CustomerAccessInterface app where the primary
form, its view, and one additional form is defined:
reference {
type : 32777 (&ARS:: ARREF_APPLICATION_PRIMARY_FORM)
datatype : 1
value : 0\
ref-groups : 0
}
reference {
type : 2 (&ARS:: ARREF_SCHEMA)
datatype : 0
object : SPRT:W_Home_Page (primary form)
}
reference {
type : 32778 (&ARS:: ARREF_APPLICATION_FORM_VUI)
datatype : 1
value : 4\11\CAIUserView\
ref-groups : 0
}
reference {
type : 32771 (&ARS:: ARREF_APPLICATION_FORMS)
datatype : 1
value : 0\
ref-groups : 0
}
reference {
type : 2 (&ARS:: ARREF_SCHEMA)
datatype : 0
object : SPRT:W_Contact_Profile (additional form, can be
multiple)
}
I checked all of my application def files and 10 of the 12 had a primary
form. The other two did not.
For more information about the reference type see the ar.h file which
came with your Remedy software.
HTH,
Mark
Mark Vaughan
Programmer III
Direct: +1 303 802 2426
Mobile: +1 303 601 4434
Fax: +1 303 802 1420
mar...@ev...
Evolving Systems, Inc.=20
9777 Pyramid Court, Suite 100, Englewood, CO USA 80112
www.evolving.com
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Carey Matthew
Black
Sent: Friday, January 13, 2006 3:23 PM
To: ars...@ar...
Subject: Re: [Arsperl-users] Finding out a forms Application name
Brent,
A single ( traditional ) form can be part of multiple ( traditional
)applications.
However, that is not true of "Deployable applications". (But workflow
can cross reference things outside a deployable application too.)
My guess is that this info is only stored in the Application object.
(An ARS Container) Which you can get to via the ars_Export() function
with the right parameters.
HTH.
--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS =3D Action Request System(Remedy)
Solution =3D People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
Never ascribe to malice, that which can be explained by incompetence.
On 1/13/06, Bowman, Brent A <Bow...@st...> wrote:
>
> Hello all,
>
> I am searching for a way to find the application of a form
automatically from the database (for mid-tier links). I searched
through the hashes that ars_GetSchema and ars_GetVUI put out and they
done seems to mention the application.
>
> i also have access to Oracle (which Remedy accesses) Does anybody
know where the application information (which table) for a form is
stored?
>
> Maybe it is that the table only lists the forms associated with the
application as opposed to the other way around.
>
> Thanks,
>
> Brent
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
This e-mail and any attachments may be confidential and/or legally privil=
eged. If you have received this e-mail and you are not a named addressee,=
please inform Evolving Systems TIS at ti...@ev... and then delete t=
he e-mail from your system. If you are not a named addressee you must not=
use, disclose, distribute, copy, print or rely on this e-mail. To ensure=
regulatory compliance and for the protection of our clients and business=
, Evolving Systems may monitor and read e-mails sent to and from its serv=
ers. Although Evolving Systems routinely screens for viruses, addressees =
should scan this e-mail and any attachments for viruses. Evolving Systems=
makes no representation or warranty as to the absence of viruses in this=
e-mail or any attachments.=20
Registered Office: 9777 Pyramid Ct Suite 100, Englewood, CO 80112
|