Custom Label and messages resource - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Custom Label and messages resource

  • Custom Label and messages resource
  • 0223561e-37c1-6deb-a958-ff0000446526_labelerror.png

    i am using sitefinity 10 and created a custom resource for labels and messags and shows up as #ResourceNotFound#:TestResources:TestResourcesDescription

    here is tutorial docs.sitefinity.com/for-developers-create-custom-resource-classes

    here is my code

     [ObjectInfo(typeof(TestResources), Title = "TestResourcesTitle", Description = "TestResourcesDescription")]
        public class TestResources : Resource
       
            public TestResources()
           
           

            public TestResources(ResourceDataProvider dataProvider)
                : base(dataProvider)
           
           

            [ResourceEntry("Resource1",
                Value = "Resource1",
                Description = "Resource1")]
            public string Resource1
           
                get
               
                    return this["Resource1"];
               
           
       

    i tried adding in the resourceclassid as well but no change.

    Thanks for your help!