html screen from service extension addin

html screen from service extension addin

Hi, I'm trying to make a service extension that will popup a window to create html screen and specify it's URL. I can already create all the frame and screen for the html but i need to create switch screen function from the service extension that i can specify the URL . I attached the code below that i got error which is "Given property doesn't exist....functionName::URLBrowse."

            myProject.FunctionCollection.Create(functionName, FunctionType.ScreenSwitch);
            IFunction tryFunction = myProject.FunctionCollection[functionName];
            tryFunction.CreateDynamicProperty("PictFilter[0]");
            tryFunction.CreateDynamicProperty("PictFilter[0].URLBrowse");
            tryFunction.SetDynamicProperty("PictFilter[0].URLBrowse", URL);
I also attached the xml file for a normal created function in zenon. That's where i got the URLBrowse.