Forum Discussion

ghoang's avatar
ghoang
New Contributor III
5 months ago
Solved

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:

 

3 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".

    • KH1's avatar
      KH1
      Contributor III

      Thank you for sharing.
      Also, please help me understand the "standard class".
      - What, Why, How, etc.
      - I couldn't find its info in Community and the Design Guide
      Thank you, RobbSalzmann​.