Perhaps an XML file might do this trick?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Perhaps an XML file might do this trick?

    I've got an application that many supervisors are going to use. However,
    each one needs to see a different part of the information. Some supervisors
    will all have the same view of the information with the same fields showing.
    Others have variations on those fields to see.

    The idea is that when an error is made in a certain business process, a log
    entry of it would be made. The department responsible would have its
    supervisor notified by e-mail. So, in our database, we have a list of all
    the departments, but no easy association from the Department to its
    supervisor. (Perhaps that's something I'll need to work on)

    Anyways, what I want to do is to store an XML file of the department ID's
    and the ID of the supervisor to send an e-mail to. Not only that, but I'd
    like to use an XML file to control which fields a person needs to see. But
    I'm no XML guru by any means. With only 2.5 days to do this, I'm open to
    suggestions on how to best implement these requirements.

    --
    Stephajn Craig


    Stephajn Craig Guest

  2. Similar Questions and Discussions

    1. Cell Phone Trick -
      Cell Phone Trick - m4w - 42 -------------------------------------------------------------------------------- Reply to:...
    2. What's the trick to getting a checkbox value
      The results of checkbox.checked always returns false even when it's true. What am I missing or doing wrong or what's the secret??? ...
    3. trick help
      Hi. Can anyone help me with the problem: I would like that the document colour changes from one to another in one swf. How? Thanx, Benjamin
    4. trick the server.
      On Tue, 22 Jul 2003, Alan Coopersmith wrote: An alternative would be to set up the automounter (as intended out of the box). That way, it...
    5. Photoshop trick
      Filter>Artistic>Cutout try playing with that. -ninja
  3. #2

    Default Re: Perhaps an XML file might do this trick?

    This is a start....

    The information I'm "protecting" and at the same time showing is coming out
    of a database. The output is a datagrid bound to a datatable. The thought
    occurs to me to pass the datatable through an XML transformation (perhaps
    using an XSD file?) for whatever user is currently looking at it. And, to
    use another XML file for determining the type of transformation to take
    place. This way, no changes would have to be made to the underlying code of
    the application, but rather to an XML file.

    But while I may have a bit of theoretical design in mind,
    1. I don't know if it's correct.
    2. I don't have any idea how to implement this theory if I AM right.


    --
    Stephajn Craig
    "Marty McDonald" <mcdonama@wsdot.wa.gov> wrote in message
    news:u#G3fIAPDHA.1624@tk2msftngp13.phx.gbl...
    > I'm just learning XML myself. Concerning the information you're trying to
    > protect, is it an XML file too? If so, you can use namespace prefixes
    > throughout that XML document. Each prefix would represent the kind of
    role
    > a person requires to view that particular information. From there, you can
    > use whatever method you'd like (such as XML transforms?) to get only those
    > fields a particular person is allowed to view. I know this might be
    vague,
    > but maybe someone can elaborate further.
    > Marty
    >
    > "Stephajn Craig" <s.craig@NOSPAMfunsunvacations.com> wrote in message
    > news:#eMssBAPDHA.3192@TK2MSFTNGP10.phx.gbl...
    > > I've got an application that many supervisors are going to use.
    However,
    > > each one needs to see a different part of the information. Some
    > supervisors
    > > will all have the same view of the information with the same fields
    > showing.
    > > Others have variations on those fields to see.
    > >
    > > The idea is that when an error is made in a certain business process, a
    > log
    > > entry of it would be made. The department responsible would have its
    > > supervisor notified by e-mail. So, in our database, we have a list of
    all
    > > the departments, but no easy association from the Department to its
    > > supervisor. (Perhaps that's something I'll need to work on)
    > >
    > > Anyways, what I want to do is to store an XML file of the department
    ID's
    > > and the ID of the supervisor to send an e-mail to. Not only that, but
    I'd
    > > like to use an XML file to control which fields a person needs to see.
    > But
    > > I'm no XML guru by any means. With only 2.5 days to do this, I'm open
    to
    > > suggestions on how to best implement these requirements.
    > >
    > > --
    > > Stephajn Craig
    > >
    > >
    >
    >

    Stephajn Craig Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139