Help writing dynamic URL that has spaces in it in workflow email

I have a list called "ctcLink Q & A".   I am trying to create a dynamic URL in a Designer workflow that will link to the list item.
I did put %20 in the spaces, but the workflow takes them out when it runs, thus creating a broken link.  I need some advise on how to create this URL.
This is the URL I need to reproduce in my workflow variable:
https://domainname.com/Lists/ctcLink%20Q%20%20A/AllItems.aspx
There are no mistakes; every result tells you something of value about what you are trying to accomplish.

You'll need to do some URL encoding to get around this.  Here's a good article to help you get started:
http://info.lanactech.com/blog/bid/191323/Making-the-Encoded-absolute-URL-work-with-a-list-in-SharePoint
I trust that answers your question...
Thanks
C
|
RSS |
http://crayveon.com/blog |
SharePoint Scripts | Twitter |
Google+ | LinkedIn |
Facebook | Quix Utilities for SharePoint

Similar Messages

  • I need help writing a script that finds the first instance of a paragraph style and then changes it

    I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style.  I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thanks!

    Hi,
    Do you mean first instance of the paragraph style
    - in a chosen story;
    - on some chosen page in every text frames, looking from its top to the bottom;
    - in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
    If story...
    You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
    Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
    so:
    Story.findText()[0].appliedParagraphStyle = Style_1;
    //==> this will change a paraStyle of 1st occurence of story to "Style_1".
    If other cases...
    You would need to be more accurate.
    rgds

  • Need help writing a query that generates sequential tokens

    Updated example to accomodate duplicates in cacard and to change the #temp_tokentable.cccard to varchar(20).
    I am just having a block. I have a should be easy task, and have looked at it several ways, but cannot come up with some tsql that I would not be embarressed to show coworkers.
    This is a the simplistic example of what needs to get done - 
    cacard table has credit cards. need to replace all credit cards with a generated token. the token is generated by just adding 1 to the lasttokenused and then + the right(creditcard, 4). Then the token and clear credit card values are inserted into
    tokentable.
    cacard can be a rather large table (# of rows and wide) in production so need to be as efficient as possible. But it is a onetime conversion program.
    Thanks for any help
    IF OBJECT_ID('tempdb..#Temp_cacard') IS NOT NULL
    DROP TABLE #Temp_cacard
    IF OBJECT_ID('tempdb..#Temp_tokentable') IS NOT NULL
    DROP TABLE #Temp_tokentable
    IF OBJECT_ID('tempdb..#Temp_lasttokenused') IS NOT NULL
    DROP TABLE #Temp_lasttokenused
    Create table #temp_cacard (ccard numeric(19,0))
    Insert into #temp_cacard values (1234567891234567), (2344567890123456789),(3456789012345678900), (1234567891234567)
    Create table #temp_tokentable (token varchar(20), ccard varchar(20))
    Create table #temp_lasttokenused (token varchar(20))
    Insert into #temp_lasttokenused values ('081111111111111111')
    want to end up with
    CACARD
    08111111111111124567
    08111111111111136789
    0811111111111114890008111111111111124567
    tokentable
    08111111111111124567 1234567891234567
    08111111111111136789 2344567890123456789
    08111111111111148900 3456789012345678900
    lasttokenused
    0811111111111114

    Thought that I would post the code that reads a credit card number file and replaces card numbers
    with token values. The tokens keep the last 4 of the original credit card number. I have two example card number tables. One table -cacardn - has a numeric(19,0) card number and the other - cacardv - has a varchar(20) card
    number. My shop has credit card numbers defined as both. Obviously, another step after this runs is to encrypt the #token.data column.
    IF OBJECT_ID('tempdb..#cacardn')IS NOT NULL
    DROP TABLE #cacardn;
    IF OBJECT_ID('tempdb..#cacardv')IS NOT NULL
    DROP TABLE #cacardv;
    IF OBJECT_ID('tempdb..#Token')IS NOT NULL
    DROP TABLE #Token;
    IF OBJECT_ID('tempdb..#Temp_Token')IS NOT NULL
    DROP TABLE #Temp_Token;
    IF OBJECT_ID('tempdb..#LastToken')IS NOT NULL
    DROP TABLE #LastToken;
    -- cardnumber table that has numeric (19,0) card numbers
    Create Table #cacardn ([cccard] numeric(19,0))
    INSERT INTO #cacardn ([cccard]) VALUES
    (NULL),
    (0),
    (1111),
    (91111111111121112),
    (1111),
    (1113),
    (91111111111201120);
    -- carnumber table that has varchar(20) card numbers
    Create Table #cacardv ([cccard] varchar(20))
    INSERT INTO #cacardv ([cccard]) VALUES
    (NULL),
    ('0'),
    ('00000000000000001111'),
    ('00091111111111121112'),
    ('00000000000000001111'),
    ('00000000000000001113'),
    ('00091111111111201120');
    -- token table that has tokens, varbinary card numbers, data type (13-20) are card numbers
    Create Table #Token (
    [token] varchar(20),
    [data] varbinary(256),
    [type] int)
    INSERT INTO #Token ([token],[data],[type]) VALUES
    ('00000000000000000000', CAST('00000000000000000000' as varbinary), 13),
    ('', CAST('' as varbinary), 13),
    ('0', CAST('0' as varbinary), 13),
    ('00091111111111111111', CAST('00000000000000001111' as varbinary), 13),
    ('00091111111111121112', CAST('00000000000000001112' as varbinary), 14),
    ('00091111111111201120', CAST('00000000000000001120' as varbinary), 20)
    -- Temporary, Intermediate table
    CREATE TABLE #Temp_Token(ClearValue varchar(128));
    SELECT * INTO #LastToken from (
    SELECT '0009111111111150') d (lastgeneratedToken)
    -- Create an entry in the Temp_Token table for entries in the card number field that do not match the Token table token or
    -- Token table data values. These must be card number clear values.
    -- ++ change from #cacardv to #cacardv to test both numeric and varchar card numbers
    -- ++ the card number field must not NULL, not = 0 and numberic values
    INSERT INTO #Temp_Token
    SELECT DISTINCT cccard
    FROM #cacardv l
    WHERE cccard IS NOT NULL and CAST(cccard as varchar) <> '0' and CAST(cccard as varchar) not like '%[^0-9]%' and
    NOT EXISTS (SELECT 1 FROM #Token s
    WHERE (right('00000000000000000000'+ rtrim(cccard), 20) = [token] or
    CAST(right('00000000000000000000'+ rtrim(cccard), 20) as varchar) = CAST([data] as varchar)) and
    [type] in (13,14,15,16,20))
    DECLARE @lastgeneratedToken varchar(20) = (SELECT lastgeneratedToken from #LastToken)
    -- Update the last token used
    UPDATE ifs_EDLastTokenUsed
    SET EDToken = RIGHT('0000000000000000' + CAST(@lastgeneratedToken + CAST(@@RowCount AS numeric)AS varchar), 16);
    -- Insert into the Token table
    INSERT INTO #Token
    SELECT DISTINCT RIGHT('0000000000000000' + CAST(@lastgeneratedToken + ROW_NUMBER() OVER (ORDER BY ClearValue) AS varchar(20)) + RIGHT(ClearValue,4), 20),
    CAST(RIGHT('0000000000000000' + ClearValue, 20) as varbinary), 13
    FROM #Temp_Token
    -- Now Update the card number field that matches the Token data field with the Token token field.
    -- ++ change from #cacardv to #cacardv to test both numeric and varchar card numbers
    -- ++ Do not undate NULL, 0, or non-numeric card numbers (they are invalid values)
    UPDATE c
    SET c.cccard = s.[token]
    FROM #cacardv c inner join (SELECT DISTINCT cccard, Cast([token] as varchar) as [Token]
    FROM #cacardv l inner join #Token s
    ON RIGHT('0000000000000000' + CAST(l.cccard as varchar), 20) = CAST(s.[Data] as varchar)
    WHERE [type] in (13,14,15,16,20)) s
    on c.cccard = s.cccard
    WHERE c.cccard IS NOT NULL and CAST(c.cccard as varchar) <> '0' and CAST(c.cccard as varchar) not like '%[^0-9]%'
    -- Check the Results
    select * from #cacardv
    Any comments or suggestions would be appreciated. (this is not the exact code. but the main statements are represented.)
    Wonder about my WHERE clauses that seek to exclude junk data (IS NOT NULL, <> '0', and numeric only data), shhould the WHERE close be on the inner or outer WHERE?

  • How can I specify an SFTP directory path that has spaces in it?

    The directory (path) on my SFTP server has spaces in some of the folder names: e.g. /data/Cisco Products/UC Applications/
    How can I specify this path in the directory field of a remote server definition if I want to upload files from my SFTP server to the CUCM?
    I've tried surrounding the whole path in quotes, %, *, backslash space, point, hash...running out of things to try. Must be possible...surely?!#
    Thank-you
    -Rob.

    I haven't tried this but when i hit tab to auto complete on a linux machine i notice a space and backslash between two words. I can see you tried backslash space. Try space backspace - <word><space><backslash><word>

  • How can I save music that has been sent to me via email on my iPad.?

    How can I save music to my iPad that has been sent to me in an email? Please help

    You can't save it to the Music app directly on the iPad, you will need to see if there are any third-party music apps in the store that you allow you to copy music from Mail to them. For the Music app then only way to get music into it is via the iTunes store app directly on the iPad and by syncing from your computer's iTunes.

  • Dynamic Query that has Unions

    I tried the application from the undocumented site titled "Dynamically>Binding to Dynamically Created View Object" (URL=http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html)
    It works, of course.
    What about unions?
    I tried it using select 'A' from dual union Select 'B' from dual and that seems fine.
    Using actual tables didn't. Is it possible?
    I need to get a LOV from an unknown source that may include tables, views, unions who knows.
    The first returned value however is generaly '%' from
    dual union ... who knows.
    Any thoughts?

    I've had success with unions on a search page. In an action, I get some parameters from the page, and start building a large unioned query. The abridged version of my code is:
    HttpServletRequest request = actionContext.getHttpServletRequest();
    String queryparams = "my where plus all my unioned code"
    HttpBindingContext myctx = (HttpBindingContext)actionContext.getBindingContext();
    DCDataControl mydc = myctx.getContext(request).getDefaultDataControl();
    Object mydata = mydc.getDataProvider();
    appModule myAM = (appModule)mydata;
    myAM.searchCriteria("MN",queryparams);
    The searchCriteria is implemented in my appModuleimpl.java.
    As I recall, I had some trouble getting this to go, but it started working when I specified the where clause and added the union to it. Good luck!

  • Help writing a program that uses Add/Remove programs

    Hey everyone,
    I'm trying to create a program that will utilize add/remove programs to repair an installation of a program. Specifically I'm trying to write something that will help automate repairs of QuickBooks installations. I've tried using Filemon to figure out what executables I might need to call and I've searched high and low in the forums and Google for help but I'm not getting anywhere. Is there some sample code out there that shows you how to work with the Add/remove programs screen and the programs in it?
    Thank you for any help you all can provide me.

    [email protected] wrote:
    It might be possible if you use the JNI, ** ouch ** That's going to hurt.
    but more than likely, Java is a poor choice for the program that you're trying to write.I'll second that. You might want to try C# if you want to write a more Windows-centric program. Its syntax is extremely similar to Java's (I wouldn't say that it was ripped-off of Java, but you could say that probably and not be wrong). But it is a powerful language with a rich library and would interact with the Windows libraries much more readily than java would.

  • Reporting Services Report Subscription. Invalid path that has spaces within path

    I am trying to have subscriptions for reports in this folder: servername\Admissions\REPORTS\End Of Month Reports\Reporting Services Report Subscriptions
    It keeps coming back invalid path and its because of the spaces for the foldername. If I send it to the REPORTS folder, I have no problem. How can I fix this for a shared network folder?

    Hi jachopich56.
    According to your description, you come across an issue when distributing a report to a file share.
    In Reporting Services, when we distribute a report to a file share, we must specify an existing folder as a target folder. We should make sure the folder we specify is accessible over a network. When specifying the target folder, we should use UNC format.
    In your scenario, please check if you can access the folder with UNC path you specified in the subscription. If issue persists, please check the Reporting Service error log (default location: %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting
    Services\LogFiles) around the time that the issue occurs. Please post the detail error log for our analysis if possible.
    Reference:
    File Share Delivery in Reporting Services
    If you have any question , please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • I need to help writing a constructor that uses an array of pointers to a class.

    Please take a look at the following code:
    class Course{
    public:
    // Default Constructor.
    Course(char *CourseName = "", char *instructor = "", char *semesterYr = "");
    protected:
    char *CourseName;
    char *instructor;
    char *semesterYr;
    ****The Course class provides information about a particualr course****
    class Student : public Course{
    public:
    // Constructor.
    Student(char *StudentName = "", char *SS = "", char CourseGrade = ' ',
    char *CourseName = "", char *instructorName = "", char *SemesterYr
    = "");
    protected:
    char *StudentName;
    char *SS;
    char CourseGrade;
    static i
    nt NumStudentObj;
    ***The Student class provides information about a particular student***
    AND FINALLY THE CLASS IN QUESTION!!!!!!!
    class CStats : public Course{
    public:
    // Constructor,
    CStats(Student *StudentArray[]);
    private:
    int NumberOfStudents;
    char CourseGradeAverage;
    I need to pass an array of pointers to a Student class to the CStat constructor.
    Since the Student class has inhertied data members of Course class, passing
    a pointer to a Student object will be more sufficient. This constructor should
    also print out the information contained in the Course & Student data members.
    My instructor stated that I can use array or pointer notation.
    How would I setup this function so that it outputs information stored in
    the data members ?
    **NOTE**
    Information like the StudentName , SS#, and CourseGrade will be entered from
    my main() source file.
    Thanks in advance,
    eejay

    eejay,
    If you haven't already done so, you may wish to consider posting your question to some newsgroups that deal with C++ specific questions. You may wish to try the following groups:
    comp.lang.c++
    alt.comp.lang.learn.c-c++
    Based on the traffic in those groups, you may be able to get an answer to your question in a short amount of time.
    Good luck!
    Regards,
    Wilbur Shen
    Web Support and Operations
    National Instruments

  • I need help with a iphone that has me locked out can anyone help?

    i have an old i phone that my daughter uses as an ipod she put a passcode on it and cant remeber the password so now its locked and says insert sim card so i asked the lady at at&t about it she said connect it to my computer and restore system settings but when i connect it to my computer it says cannot locate this phone insert sim card any suggestions on how to unlock this phone?

    Put the iPhone into recovery mode and restore. To do this please see the links below....
    http://support.apple.com/kb/ht1212
    http://support.apple.com/kb/HT1414

  • I have a iPhone 5c that has an iCloud account and the email it's not verified and I don't know that password and try to restore my phone but it doesnt let me how can I erase it ?

    Help me please !!!!!!

    If you can't reset the password yourself, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • Enter an email address that contains spaces

    In LiveCycle Designer, how do I enter an email address that has spaces in the Submit to URL field on the Submit tab of the Object palette? If I enter it as is:
    mailto:NCA ABC Help [email protected]?subject=Coaching Request
    Then the email address in the To field of my Outlook message is formatted as: NCA ABC <Help [email protected]>. I have tried replacing the spaces with %20, but it doesn't work.
    Thanks in advance.

    Hi,
    check the article, paragraph "Local Part".
    http://en.wikipedia.org/wiki/Email_address

  • Dynamic URL value at runtime

    Hi,
    We have created an iView of type "com.sap.portal.appintegrator.sap".
    In URL template property we have set the following value:
    <System.protocol>://<System.server>:<System.port><System.uri>?parameter=value&parameter=value&...
    That's to say, it is a dynamic URL that is built at runtime.
    My question is: How can we find out the value of URL when we preview the iView, that is, the URL value at runtime?
    Helpful answers will be rewarded!!
    Thanks in advance,
    Samantha.

    Hi Samantha,
    If I am understanding the issue properly.
    the solution is:
    there is no way you can get the url for iView.
    You need to assign the iView to Role. and assign it to a user.
    When you open the iView then from title bar select Add to Favorites, this will save it in the Browser favorites and when you go to the link and see the properties you get the Short URL.
    In Portal terminology the Dynamic URL is called Short URL.
    And to find the short url navigate to
    System Administration->Navigation-> Short URLs
    Hope this helps you.
    Pramod
    -award points if helpful

  • How do i remove a old never used icloud account from my iphone that has never been vif, how do i remove a old never used icloud account from my iphone that has never been vif

    how do i remove a old never used icloud account from my iphone that has never been vif, how do i remove a old never used icloud account from my iphone that has never been vif and the email is not used

    Hi BJEast,
    If you are having issues changing or removing an old iCloud account from your device, you may find the following article helpful:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/ts3988
    Regards,
    - Brenden

  • Hi, I just created an apple Id account and someone has already used it to buy ibooks! Help, looks like my account has been hacked!

    Hi, I just created an apple Id account and someone has already used it to buy ibooks! Help, looks like my account has been hacked!

    Received an email:
    our Apple ID, xxxxxx, was just used to download iBooks from the App Store on a computer or device that had not previously been associated with that Apple ID.
    If you initiated this download, you can disregard this email. It was only sent to alert you in case you did not initiate the download yourself.
    If you did not initiate this download, we recommend that you go toiforgot.apple.com to change your password, then see Apple ID: Security and your Apple ID for further assistance.
    Regards,
    Apple

Maybe you are looking for

  • INSTALL ORACLE 8i ON LINUX RH ES 3 - JVM Error

    Hi I am trying to install Oracle 8.1.7 on Linux Red Hat Enterprise 3(i know that this is not a certified Linux for this Oracle version, but i know that it runs on it) and i get this error I have installed the JDK-1.1.8 for this version, but i still g

  • How to enable root user in Yosemite

    I see in SEARCH how to enable root user in LION but not Yosemite. Does anyone know how? The sys prefs button choices is different so can't find out how to do.

  • Workflow applet in approval preview (shopping cart) changed in SRM 5.0

    Hi, we have upgrade from EBP 3.0 to SRM 5.0. The approval preview in the shopping cart transactions (f.e. BBPSC03) now shows only the approval state (in grahpic mode), not the step description from the workflow definition. In EBP 3.0 was showed the s

  • Latest build of Jrun 4.0 does not handle Struts

    I have Jrun 4.0 build 61650 installed on my old dev server, and Jrun 4.0 build 106363 (my engineer installed the latest updater) on a new dev server. Recently I found struts web app runs on the old server, but not the new one. I downloaded the struts

  • Reg : FRM-40733 Pl/Sql Built-In DBMS_ERROR_CODE Failed

    Hi Gurus, We are getting the following error randomly on users machine. "FRM-40733 Pl/Sql Built-In DBMS_ERROR_CODE Failed" I serched for this error in google but cant find any solution for this error. Can anyone suggest me a solution for this problem