10-01-2015 10:43 AM
I have received URL from Sharepoint that looks like this:
That is, indeed, a very long URL.....
When I copy this URL in the webbrowser and subsequently press on Enter, then I see an XML output on the screen:
Experienced user will directly recognize the XML form.
The XML loaded into excel will look like as demonstrated in the attachment.
how can I import this URL into SAS and to get a SAS table that shows only the columns and rows as that from excel? (ignore auto filter, sort option in the header).
Your comment will be greatly appreciated.
10-05-2015 03:39 PM
Are you trying to parse the URL to extract specific key-value pairs? I looked at the URL string that you provided, and the parameters Title, TestColumn1, TestColumn2, Category, Item Type and Path are not among the parameters in the URL.
Or perhaps you are trying to have SAS act as the "user agent" that sends HTTP "get" requests back and forth to the Sharepoint site, in which case, your objective is to scrape web page output? This might be technically challenging if there are permissions on your Sharepoint site and/or if SAS is running on a non-Windows box. One of the reasons for this is that SAS would be an "agent" that is acting on one's behalf, and the default behavior is that SAS does not run under the same context as you. (I think my comment may apply if you are using SAS EG; I am not sure if it applies to PC SAS as I have not used the latter in a number of years).
10-07-2015 01:41 AM
Correct, I'm using SAS as an "user agent". Your answers/comments give the impression that the problem cannot be easily solved.
a SAS technical support team is investigating this issue and if they have found the solution or the Sharepoint team is coming with an appropriate alternative, then I will let this site know.