Tiny URL for HTML Usage
Posted: 09 Dec 2016
Hi,
First Question :
My Sharepoint store a long URL into a column and i need to use it in HTML for embedded content and picture callaing.
I was planning to use the following code. As soon as i use it, i got display error such loosing tabs. Any idea how i can achieve that?
use import javaQuery.j2ee.tinyURL;
public static void main(String[] args) {
tinyURL tU = new tinyURL();
String getLink tU.getTinyURL(fd.field('LongURL_InternalName').value() );
fd.field('LongURL_InternalName').value() = getLink
}
//Assign @LongURL_InternalName in HTML Content for URL
Second question:
Is possible to get the current URL of the form and store it in a field ?
Thanks again for your Help
First Question :
My Sharepoint store a long URL into a column and i need to use it in HTML for embedded content and picture callaing.
I was planning to use the following code. As soon as i use it, i got display error such loosing tabs. Any idea how i can achieve that?
use import javaQuery.j2ee.tinyURL;
public static void main(String[] args) {
tinyURL tU = new tinyURL();
String getLink tU.getTinyURL(fd.field('LongURL_InternalName').value() );
fd.field('LongURL_InternalName').value() = getLink
}
//Assign @LongURL_InternalName in HTML Content for URL
Second question:
Is possible to get the current URL of the form and store it in a field ?
Thanks again for your Help