In an xpage I have a view with links to pdf files stored in RT fields in the form of :
servername/directory/nsf filename/O/id/file/docname
The user has to open the pdf file and save it locally before he can "put" it in an email. Would be nicer if the user could drag and drop the file(s) to an email directly from the Xpage.
Now when a user tries to drag and drop ,he will drag and drop the link , not the document itself. Since the database isn't available for public , this can't be used.
http://openntf.org/XSnippets.nsf/snippet.xsp?id=drag-and-drop-attachment-links-from-file-download-control-to-operating-system-to-download
Seems to be working in Chrome only.
Related
Creating from blank Powerapp canvas Sharepoint lookup fields are not visible when editing form.
It is working fine if I start creating my app from Sharepoint data however I need tablet/web layout. I am using on-prem Sharepoint data and a gateway.
Update: As a workaround I was able to convert my phone layout app derived from sharepoint list to a tablet layout by saving to local folder and updating the properties json file.
Steps:
Save phone layout app created from sharepoint data to local folder.
Create a blank app from tablet layout and save to local folder.
Rename both .msapp files by adding the .zip extension.
Extract both file to one directory
open the properties.json file of both apps and update the LocalConnectionReferences, DocumentLayoutWidth, DocumentLayoutHeight, DocumentLayoutOrientation, DocumentAppType to be the same as the value of the blank app
Save and drag updated properties.json to the original zip file.
Rename from zip to msapp extension.
Reopen from powerapps, browse from local folder.
Click App Settings.Click Screen size + orientation.
In the Size radio button, select 3:2. Click Apply.Click Save.
In the Size radio button, select 16:9.Click Apply.Click Save.
Would you be willing to try this method? (You can mute the sound if it bothers you.)
https://www.youtube.com/watch?v=TGhiNakRx6Q
If you don't like that approach:
Forms: Try selecting the form control, then use the right properties panel to click on edit fields. The lookup column should be listed in the area with the checkboxes. If it is a brand new lookup column that you recently added to SharePoint, then try saving and closing your app, then reopening to force a hard refresh of the data.
Galleries: Click on the label control where you want the lookup, then use the formula bar TEXT property and use the formula ThisItem. followed by the field name then followed by another . (dot) then Value.
I am new in lotus notes.
In an existing application i want to create a new view. So i created the new view and put it in the main -Views folder. i copied from blank. The formula selection is SELECT #all. Then in the design of the view i placed 2 columns with 2 fields(updateDate and updateText) these are from a new form that i made. But now if i save and preview my View it takes a long time to index and when done i see 0 documents but i can click on every row. And if i click on a random row then it will open a random document which is in the database.. as if the view populates the whole database. And i don't get the form document where i got the fields updateDate and updateText..
How come?
Since the view selection formula SELECT #all, the view selects alle documents from the database.
So you need to change the view selection formula to for instance select documents based on the form used to create them:
SELECT Form="MyNewForm"
I have a view control showing documents with an external url in document fieldA.
How can I write a onclick Event to open this URL?
Thanks for help.
In your view column choose a content type of HTML.
In your view add a column that formats the link using the tag. Make this column hidden in the Notes client (if you use it there). Then show this view column in your view control with the content type set to HTML.
Because you are using HTML, you don't need to have an onClick event per say, although the effect is the same.
Using Orchard 1.6 i've setup 3 content parts, each viewable from 3 separate forms, which will automatically navigate from 1,2,3 as the user fills them out (by selecting the booking option on the main menu):
1) Records Name & phone number as input fields
2) Records equipment user has selected to rent (from drop down and input fields)
3) Confirmation which should display what the user has entered on the first 2
So far im on part (3) so I want to display what the user has chosen for the first 2 forms (I know they are stored as content items) but how can i get both of them to display on the confirmation page.
Also when the 'Submit' button is clicked on the confirmation page i would like to send an email to the owner. How can I do this?
Thank you
Use the rules module (workflow in 1.7+) to send an email when the content item is created.
To display the data you could create a simple little module that displays the latest two items created by the current user. Or something. I've never really used Orchard Forms so I'm not sure if it has better ways of accessing content you have created with it.
Does anyone know how to add user id to the Excel header or footer? I know I can set it in a macro but I'm trying to avoid it. Is there any shortcut like &D or &t for user id?
there is no formula (in the header dialogue, or in Excel in general) that pulls the username. You would have to do VBA.
The user or author is not a prebuilt field that can be inserted into a header/footer like &[Page] for page number. The available header/footer elements are shown in the Header & Footer Tools, Design context menu (available once you are in View, Page Layout)
However, there are some prebuilt commands that will insert the current user as text (not an updateable field). Click the large Header menu button at the far left of the above image and insert <user> Page <page no> <date> or Prepared by <user> <date> Page <page no>. The same prepared phrases are available for the Footer.
These are accessed by Alt+J,H,H. They can also be assigned to the QAT or menu hotkey(s).