We help IT Professionals succeed at work.

Sequence number in URl

GaryZ
GaryZ asked
on
Does anyone know how to eliminate or find the seq number that shows in the URl?

I need to generate a URl in the $$return and I need to know the sequence number.
Comment
Watch Question

Have a computed field called Query_String_Decoded, this will always reflect the current url. Using @contains determine if there is 'seq' parameter in the url and contruct $$return accordingly.

~Hemanth
Here is the formula that will work in $$Return (Computed field)

qs := @lowerCase(query_string_decoded);
qsList := @explode(qs; "&");
idx := @member("seq"; @left(qsList;"="));
@if( idx > 0; @subset(@Subset(qsList;idx);-1); idx);




Explore More ContentExplore courses, solutions, and other research materials related to this topic.