Article John Hotalen · Oct 4, 2016 1m read How to Parse a URL in Caché How to parse a URL in Caché:Let's pretend you are working on a project where you may be retrieving a URL for some purpose and you have the need to be easily able to parse apart that URL to get the various components that make up the URL.Here's how to do that: #Caché #Tips & Tricks #Frontend 2 8 0 1.7K
Article John Hotalen · Sep 29, 2016 1m read Cache - Checking If a Directory or File Exists Checking if Directory or File Exists: Outlined below is an example of how to check if a directory exists: Set directoryName="c:\temp\nosuchdir" /* Check for existence of a directory - Return Value: 0 - directory does not exist; 1 - directory does exist */ Set directoryExists=##class(%File).DirectoryExists(directoryName) If ('directoryExists) // do the processing for when a directory does not exist Outlined below is an example of how to check if a file exists: #Caché #Code Snippet #Tips & Tricks 3 1 0 2.8K
Article John Hotalen · Sep 29, 2016 1m read Cache Studio - How to Change the Login User The one question that some of you might have is: How do I change my login information for Cache Studio if I clicked the checkbox to automatically save my login info so I do not have to enter my username/password every time I open Studio? Well.....excellent question!!!!!!Here's the answer: #Studio #Tips & Tricks #Caché 5 1 1 1.3K