Question Amit Prajapati · Sep 12, 2019 SQL concatenation for more than 2 columns Hi,I am implementing free search text box, which can search data in all columns of tables.I have created DisplayName column by concatinating two column data with space. SELECT TOP ALL FirstName||' '||LastName AS DisplayName, UserType, IsActive, RoleName, DOB FROM LISDB.ExternalUsers Now, in where condition I want to do like search in DisplayName column but it not working. I have tried both fn CONCAT and || in like query but both are not working for me. #Caché #InterSystems IRIS 0 5 0 1.6K
Question Amit Prajapati · Sep 6, 2019 Pass Order by value Dynamically in Class Query Hi,I want to do ordering dynamically in Query. I mean to say that order by value will not be hard coded in query, it will be passed in parameter.I have tried to it following way, but it is not working for me. Can you please advise me how can I achieve it?In below code, Order by :objSearch.SortingField is not working. #Caché #InterSystems IRIS 0 7 0 319
Question Amit Prajapati · Aug 23, 2019 Access to XMLHttpRequest at 'http://localhost:52773/IrisVSCode/app/test' from origin 'null' has been blocked by CORS policy Hi All,I have created a REST class in which have the Parameter HandleCorsRequest = 1;I can able to access the API using Postman, but not with my web application. It throws the below error.Access to XMLHttpRequest at 'http://localhost:52773/IrisVSCode/app/test' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. #Angular2 #JavaScript #SOAP #InterSystems IRIS 0 5 0 16K