VBA Form dynamic hyperlink from current record - forms

I have a search form. If I double click on of the items, a new form opens with the selected record, where you can see the details about it. I store an ID, what I can use to open a webpage like https://mywebpage.net/asd/ID. So I want to concatenate my base url (https://mywebpage.net/asd/) with the ID, but it doesn't work. I tried "https://mywebpage.net/asd/" & me.ID, but when I click on it, Access says only "https://mywebpage.net/asd/" without the ID. Can you help me how to create a hyperlink on the details form, which navigate to the current element's webpage?

Find out!
Base url: ="https://myanimelist.net/anime/" & me.malid

Related

MS Access 2013 form - attachment field go to new record

I'm extremely new to MS access and was able to create an access form for a SharePoint linked access database. Most of the tutorials concluded at "how to add attachment field and connecting to column (control source). After doing all this, the current situation is that the access form is able to send attachment to the sharepoint form. however, when access form is opened again to reuse, the attachment field shows the previous record's attachment.
I have tried:(me.attachment = "", me.attachment = null, me.attachment = nothing)
but none of it worked. Could anyone help me with this and let me know how to go to the new record?
I'm a novice to access and my coding ability is derived from Excel VBA. Any help is greatly appreciated!! Thank you.
If you want the form to jump to the new record from inside the already open form (like having a "new" button, or just jumping to the new record on the form load) use something like this (on the right section, in your case it should be on Sub Form_Load):
DoCmd.GoToRecord acDataForm, Me.Name, acNewRec
But if you want to open the form from another form (like a a button that opens another form in add mode) us this instead:
DoCmd.OpenForm "Form_Name_Here", , , , acFormAdd
You can also select the form to open in add mode in the form properties, if you want the form to always open like this.

How to get element id in google forms

I want to get the id of an element in google forms. I found on the internet that it can be done by right clicking on the element and opening inspect element. It is working for older forms but, for new forms, it doesn't show any id attribute. I am posting both images of inspect element.
Old forms:
New forms:
In new form google have replace id with name attribute.So do one thing, write something in textbox then rightclick on textbox and open inspect element, Here you will find item tag with name attribute which is the key you want
For eg,
<input name="entry.123456" >
Maybe I can help you in finding the id's of the element.
After submitting the form you can look for headers{Form Data} in the network section of developer tools.
You will find something like this..
entry.102708304: "Your response"
102708304 is the id..
Hope my answer was useful. Thank You.
Try pressing Ctrl+U when on the Google Website. In Firefox this will show up the complete HTML Code where you can search better. There has to be set an Id, because otherwise the text in the element couldn't be accessed
hi this has changed a bit,
you need to get a pre filled link via 3 dot menu then prefilled link , copy it into an editor and confirm these entries.
I could not find it visible anywhere in the source code and there are a ton of JS names that seem random and 0 name inputs on my form

Append Form text field value alone in the url

I am trying to create a sample Online shopping application using SPRING+REST. I have a 1000 of products and I would like to make use of #RequestMapping("watches/{id}") annotation . But i dont know how to send the id form field value alone while submitting a form in jsp.
I want something like this
www.example.com/watches/1001
Please help me out
I guess you will have some jsp page which consists of all watches. This web page can be access by localhost:8080/watches URL.
If user click on any watches, user will land to localhost:8080/watches/{watch-id} page as the click on watch will redirect the request.
If your JSP is form based page, then user need to enter the watch-id ( or watch name which we need to map to watch id) and click on submit button will redirect the request to localhost:8080/watches/{watch-id}. Please let me know if you are ok with this.

Lemoon - Select Form Template not available

I have started using Lemoon CMS for a new site, everything is working great with one exception.... Forms. Each time I try to create a New Form i am given the option to Select a Form Template.... however this dropdown is not populated with anything. There is a FormTemplate.aspx file which looks intact, and when I try to view my new page/form I get the message Form "" not found.
Any ideas?!
In order to use forms you need to first create/design a form. You do this under the manage/content types section (/admin/manage/content/default.aspx). There you need to click the "Design form template" link. You can now create your form. Once it is saved you need to create a page in your site that will hold the form. Select your newly created form in the "Select form" dropdown and click Publish.

Edit a confluence page title to add its ID?

I'm trying to add a unique ID to page titles in confluence.
I managed to add a user macro which uses jQuery to add the page ID & a string prefix to the title;
## #param _prefix:title=Prefix|type=string|required=true|desc=Prefix for the page ID
<script type="text/javascript">
jQuery("document").ready(function() {
if ("${param_prefix}" != "${_prefix}")
jQuery('#title-text a').prepend('${param_prefix}', '$content.getIdAsString()', ' ');
});
</script>
But I want this to actually edit the title, not just get added at runtime. It needs to be consistent throughout, allowing that ID to be a search term & appear in all menus etc.
I can't find anything which suggests this is even possible but it must be, surely!?
$content.setTitle("newtitle") should work. BUT! you will have to make sure that this only happens once, otherwise your title will get repeatedly prepended with your text every time this macro is rendered. I guess you might check if the title starts with your prefix already. And then you might want to add handling of changing the prefix.
See http://confluence.atlassian.com/display/CONF35/Guide+to+User+Macro+Templates#GuidetoUserMacroTemplates-OtherObjectsAvailabletoyourMacro for more details.
That being said, this seems like a pretty kludgey way of solving whatever problem you have. I would suggest reconsidering if this is really what you want to do.
You can use the actual Confluence page ID or the page tiny link rather than generating an ID of your own. Both of these are static.
On any Confluence page, type "k" to see a hyperlink. You might be surprised to see it also contains a tiny link. Atlassian confirms that the tiny link stays the same, even if you move and rename the page (https://jira.atlassian.com/browse/CONF-27049). This is a consistent way to reference the same page with a fixed URL. Another way is to use the Confluence built in PageID.
Confluence Knowledge Base: How to get Confluence page ID
https://confluence.atlassian.com/confkb/how-to-get-confluence-page-id-648380445.html
Ensure that the current user has permissions to View and Edit the
page Navigate to a specific page
Go to Edit Mode by clicking Edit button or press 'e' key
The URL in the address bar will change once you enter Edit Mode
Page ID will be displayed as the parameter in the URL e.g.: When entering Edit Mode, the URL will change to http://my.domain.com/pages/editpage.action?pageId=1540132
In the example above, 1540132 is the Page ID.
To get the page ID with a macro:
ContentEntityObject contentEntityObject = conversionContext.getEntity();
System.out.println("pageId : " + contentEntityObject.getId());
To change a title: content.setTitle("newtitle").
Remember, check if title contains the page id before setting title = title + page ID.