Hi,
The base class is set to be run on "called from". 

Still manually changing the xpo and importing is not
working in this case.

Thanks
Akash
--- "Harry (Harshawardhan Deshpande"
<[EMAIL PROTECTED]> wrote:

> hi
>  
> you can modify the property only if the base class
> is set to be run on "called from"
>  
> The discussion as to changing the xpo file manually
> and importing the thing is applicable only if the
> above statement is true.
>  
> regards
>  
> harry
>  
> 
> 
> Akash <[EMAIL PROTECTED]> wrote:
> Hi Harry,
> 
> Thanks for reply.
> 
> This is a customized class and yes this extends one
> more customized class.
> 
> Oh, i am not aware of this . So, due to this reason
> the changing property is not possible , if i will
> modify the Xpo file in my customer application with
> thier licence.
> 
> Regards
> Akash
> 
> 
> --- "Harry (Harshawardhan Deshpande"
> <[EMAIL PROTECTED]> wrote:
> > hi Akash
> >  
> > one basic question not to test your knowledge but
> to
> > make sure that we are not missing the obvious.
> >  
> > Which class are u trying to modify? If the class
> is
> > extending some class then changing this property
> may
> > not be possible
> >  
> > regards
> >  
> > harry
> > 
> > Akash <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > Thanks for your suggestion, but still its not
> > working.
> > regards
> > Akash
> > --- Ali KESKIN <[EMAIL PROTECTED]> wrote:
> > 
> > ---------------------------------
> > Could you try following method?
> > Make modifications, export the modified class,
> > restart
> > axapta -:) and import
> > the modified class;
> > Best luck.
> > 
> > -----Original Message-----
> > From: Axapta-Knowledge-Village@yahoogroups.com
> > [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Akash
> > Sent: Tuesday, May 10, 2005 3:59 AM
> > To: Axapta-Knowledge-Village@yahoogroups.com
> > Subject: [Axapta-Knowledge-Village] Modify the
> Class
> > property
> > 
> > Hi All,
> > 
> > I need to change the Class property from "Server"
> to
> > "Client" of a class in the Customer Application.
> But
> > the customer licence doesnot have access/rights to
> > modify any class properties.
> > 
> > Hence i wrote a job using the tree node class to
> > modify the class property. When i run the job, the
> > property changes from "Server" to "client" , but
> > this
> > does not saves/refreshes permanently , as when i
> > close
> > and re-open the axapta the property change is back
> > again to "Server" .
> > 
> > Is there any otherway to modify the class
> property?
> > 
> > Here is the job :
> > 
> > static void ChangeClassProperties(Args _args)
> > {
> > xInfo xInfo = new xInfo();
> > 
> >     treeNode t =
> > xInfo.rootNode().AOTfindChild("Classes");
> >     treeNode child;
> >     treenodeIterator it;
> > 
> >     str   properties;
> >     str   properties1;
> >     str   classes;
> >     str   searchType = "Client";
> > 
> >     ;
> > 
> >     it = t.AOTiterator();
> >     child = it.next();
> >     while (child)
> >     {
> >         classes = child.treeNodeName();
> >             if(classes == "My Class")
> >         {
> > 
> >             properties        =
> > child.AOTgetProperties();
> >             info(properties);
> >             properties1       =
> >
>
setProperty(child.AOTgetProperties(),"RunOn",searchType);
> >             info(properties1);
> >             child.AOTsetProperties(properties1);
> >             child.AOTsave();
> >             child.AOTrefresh();
> >         }
> > 
> >         child = it.next();
> >     }
> > 
> > }
> > 
> > Regards
> > Akash
> > 
> > 
> > 
> > 
> > 
> >             
> > __________________________________ 
> > Do you Yahoo!? 
> > Yahoo! Mail - Helps protect you from nasty
> viruses. 
> > http://promotions.yahoo.com/new_mail
> > 
> > 
> > 
> > Sharing the knowledge on Axapta. 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Sharing the knowledge on Axapta.
> > 
> > 
> > 
> > ---------------------------------
> > Yahoo! Groups Links
> > 
> >    To visit your group on the web, go to:
> >
>
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
> > 
> >    To unsubscribe from this group, send an email
> to:
> >
> [EMAIL PROTECTED]
> > 
> >    Your use of Yahoo! Groups is subject to the
> > Yahoo!
> > Terms of Service.
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> > 
> > Sharing the knowledge on Axapta. 
> > 
> > 
> > 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to