I have a Picture Library created with photos. In my Custom List, I want to create a lookup field to a Picture in my Picture Library and a description field. This I figured out by linking to the ID of the image in the Picture Library. How can I display that image as a thumbnail using my custom list? (Is it also possible to display a thumbnail or preview of the picture in my custom list since it know the ID of the picture?).
How about some javascript so that when you mouseover a list item in your custom list a modal window opens up with an image preview?
Related
I'm trying to create an powerapps app for audits. These audits have multiple questions and I want to create a screen where the user can awnser multiple questions in 1 screen. But all questions have to be linked to the audit. So if a question is already filled in it will display the awnser and is able to edit this if needed.
Every question needs to get a grade (1-10) and a description of the awnser.
I already have a detail screen for the audit itself with the base information. idealy i want a button that can go to the questions and fill them in. I'm using multiple sharepoint databases to store the information. So i would like to store the awnsers here as wel. For the awnsers i made a seperate database linked to the audit and the question.
I also have a database for the information of the audit and one for all the questions.
So my question is how do filter a gallery based on the audittitle? and also how do i save this information easily in the sharepoint envoirment
Screenshots could have clarified the problem in a better way, but as much as I could understand from the problem subject, here is a solution to "how-to-filter-a-powerapps-gallery-based-on-previous-screen" :
When you have lots of fields in previous screen which is required for filtering.
You can store the values on previous screen either in a sharepoint list (by submitting the forms from previous screen ) and then fetching them to filter content ( by having a gallery inside a gallery)
OR
When you have less number of fields.
You can simply store the values in variables by using Set(a,box1.text) ((where a is the variable name and box1 is the input box) function on navigation to new page ( by putting this in Onselect menu) and then using it in the filter command.
Here is the steps to filter a gallery from the value coming from previous page.
put a button on the screen from where you want the value
on select property of the button put this code
Navigate(screenName,screenTransition,{variableName:valueToFilter})
Now on the Items property of Gallery put below code
Filter(datasource,columnToFilter = variableName)
Note that this variableName should be the same as above.
This will filter out your data in gallery.
For your 2nd question:
Create a list in Sharepoint which will have all the questions/fields.
Connect this list to your PowerApps app
insert a form on a screen.
add your Sharepoint list as a data source to the form
insert the button on the same page as form
onSelect property of button put this code
SubmitForm(formName)
I have invoice print layout designed using the advanced layout designer. I can add the branch logo. But I cannot add any other picture , say I have a static image that should come in all invoices. I cannot see an option to browse my PC folders and select an image in advance layout designer
Thanks
link is available from the report properties rather than field properties
I know i can watermark an image with reportviewer 2012 in the body part of the page.
My report has header and footer, i need watermark an image in angle for the full page, from the bottom-left to the top-right and that will include the header, body and footer.
Any Idea? Thank you.
SSRS doesn't natively have a Watermark function, but you have a couple workarounds.
Fix 1 - Background Image
Create an image with the watermark you want (save as .bmp)
Add the image to the report
Set the Report Body Background property to use the image.
Body Properties
For Step 1, I like the following method:
Create a Word Document
Go to Page Layout > Watermark > Custom > and add whatever watermark you want
Save the Word Document as PDF.
Open the PDF and Select "Copy File to Clipboard"
This will create the correct sized image at 612x792. Paste into MSPaint and save as a bitmap. Here's a sample generated image that just says "TEST" that you can use.
Conditionally Applying:
Most times you have a watermark, you want to eventually remove it. Let's say you have a test and production report and you want to toggle the watermark. You can do it like this:
Add a Boolean Parameter, here called IsTest. It should look like this:
On the Body Properties menu, set the background image to use the following formula:
=iif(Parameters!IsTest.Value,"TestWatermark","")
When you're calling the report, make sure to pass in the parameter like this:
report.SetParameters(New ReportParameter("IsTest", appSettings.IsTestEnvironment))
Fix 2 - Text Field
Alternatively, you can do this with a text field for a little less heavy handed of an approach, but it cannot be rotated at a 45o angle.
Add a text field to the report. Make it large and grey.
Right click on the text field and click Send to Back so it appears behind all the other elements.
Make sure that any other fields with a white background have a transparent background, otherwise you'll get a blotchy display.
Further Reading
Watermark printing in SSRS report
How To Watermark your Report With Custom Image
Try if this will help. It shows several workarounds: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b9c25fc1-00a5-4957-8f02-f91bf5984d76/how-to-achieve-watermark-underlay-feature-in-ssrs-2008
I have a custom publishing page layout I have created. The content type behind the page layout has a lookup column pointing to a document library where I store images. Basically, the pages I am creating from the layout are 'articles' and I have an associated image with each.
As you can probably guess by now, I want to display the lookup image on the page. However, I cannot for the life of me figure out how to do this. I have been inserting columns into the page layout via controls, but I'm not sure how to format it to look at the source document behind the lookup column. I am wondering if it is possible somehow through controls, and if not this way, if it can be done through modifying the XSL of a webpart. My last option which I don't want to use but I know it would work is a workflow (on new item creation, copy Name (FileLeafRef) into a hidden single line text field I coult utilize).
Does anyone know how to format a lookup column to display Name (FileLeafRef)?
Help is greatly appreciated!
-Josh
I have a SharePoint list, which has attachments!!
I am using a custom grid-view to display some selected List fields from the list.
I would like to include the attachment as an embedded document in the Grid-view, Is that possible?
Got it worked, Created an anchor type item template in grid view.
And the Href property of the anchor tab is binded with the attachment retrieved pro grammatically. Working great!!