Forum Discussion

ghoang's avatar
ghoang
New Contributor III
3 days ago

Reference other files from XFBRStringService

Hi, 

I've created an XFBR String Service file, and I would like to reference other (also XFBR String Service) files to break up the XFBR rule to manageable pieces. I keep running into compile issues. Any insights would be helpful. Thanks. 

Here are the screenshots of what I have: 

-Main XFBR String Service file (referenced in the Service Factory):

 

-The secondary XFBR String Service file I'm calling & error:

 

2 Replies

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    When you create the file GetListOfEntities, choose "Standard Class" instead of "XFBR String Service"



    Also, namespaces and classes are things, nouns.  Name them as that, e.g. EntityLister.  Methods are the doers and use verb/action names.  Inside EntityLister, have a method called "GetEntityList".